summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/shader_gles3.cpp
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-05-18 08:04:41 -0700
committerclayjohn <claynjohn@gmail.com>2022-05-24 11:00:34 -0700
commit3e20c1347db323438a76693bb9f7eea87f3a305d (patch)
tree98ed91197c8eaf8e4604089eea44c3c420ef5d22 /drivers/gles3/shader_gles3.cpp
parentd81c5eab8cfd1d91ef2cf1599a6b929ccbed0a3a (diff)
downloadredot-engine-3e20c1347db323438a76693bb9f7eea87f3a305d.tar.gz
Add clipping, backbuffer, and CanvasGroups to 2D GLES3 renderer
As well as significant consequent cleanup in the RenderTarget, Texture, and Canvas renderer code
Diffstat (limited to 'drivers/gles3/shader_gles3.cpp')
-rw-r--r--drivers/gles3/shader_gles3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shader_gles3.cpp b/drivers/gles3/shader_gles3.cpp
index 33d5494837..21ccef3518 100644
--- a/drivers/gles3/shader_gles3.cpp
+++ b/drivers/gles3/shader_gles3.cpp
@@ -673,7 +673,7 @@ void ShaderGLES3::initialize(const String &p_general_defines, int p_base_texture
print_verbose("Shader '" + name + "' SHA256: " + base_sha256);
}
- glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &max_image_units);
+ glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &max_image_units);
}
void ShaderGLES3::set_shader_cache_dir(const String &p_dir) {