summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_scene_gles2.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-02-22 11:32:37 -0300
committerJuan Linietsky <juan@godotengine.org>2019-02-22 11:35:39 -0300
commitaab8f443f90df21f84dd306600db0c5d1378ade9 (patch)
tree899a0eb0955a95fe1ea2313f386eb889519f9503 /drivers/gles2/rasterizer_scene_gles2.h
parent8b9ec8bc8820c0756544ecce45d8e867b7aad17b (diff)
-Support DEPTH_TEXTURE in GLES2, fixes #25106
-Fix use of transparent framebuffers in GLES2 -Fix use of ambient color clearing in GLES2 when no environment exists.
Diffstat (limited to 'drivers/gles2/rasterizer_scene_gles2.h')
-rw-r--r--drivers/gles2/rasterizer_scene_gles2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles2/rasterizer_scene_gles2.h b/drivers/gles2/rasterizer_scene_gles2.h
index 0d917f4da2..aab9ae0fdc 100644
--- a/drivers/gles2/rasterizer_scene_gles2.h
+++ b/drivers/gles2/rasterizer_scene_gles2.h
@@ -103,6 +103,7 @@ public:
GLuint sky_verts;
GLuint immediate_buffer;
+ Color default_ambient;
// ResolveShaderGLES3 resolve_shader;
// ScreenSpaceReflectionShaderGLES3 ssr_shader;