summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-02-27 23:49:34 -0300
committerJuan Linietsky <juan@godotengine.org>2019-02-27 23:49:34 -0300
commit5efd6933847486aad232784d39da35ae5e746b86 (patch)
tree4b2c727155d0a3156d9fbd6381f876d1fe88b7fe /drivers/gles3
parent9ca6ffa341da9a95a1299f9880da69a8f67a40c3 (diff)
Massive improvement to GLES2 performance, rewrote most ShaderGLES2 class.
This fixes #26337
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/shader_gles3.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gles3/shader_gles3.cpp b/drivers/gles3/shader_gles3.cpp
index 2db0223edd..fa7cc00230 100644
--- a/drivers/gles3/shader_gles3.cpp
+++ b/drivers/gles3/shader_gles3.cpp
@@ -133,15 +133,6 @@ bool ShaderGLES3::bind() {
active = this;
uniforms_dirty = true;
- /*
- * why on earth is this code here?
- for (int i=0;i<texunit_pair_count;i++) {
-
- glUniform1i(texunit_pairs[i].location, texunit_pairs[i].index);
- DEBUG_TEST_ERROR("Uniform 1 i");
- }
-
-*/
return true;
}