summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_storage_gles2.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-03-07 00:13:18 -0300
committerJuan Linietsky <juan@godotengine.org>2019-03-07 00:14:13 -0300
commit7141c73ae8368f75671eec05e48188d9d338e054 (patch)
tree02a14968d748facac07a02ef2d53b486ca5c8ee5 /drivers/gles2/rasterizer_storage_gles2.h
parent38b12d25e90ea342dfdb123eafa47146af5ba6b1 (diff)
Use glCopyTexSubImage2D instead of glCopyTexImage2D, should be safer and faster.
May be a solution to #26500
Diffstat (limited to 'drivers/gles2/rasterizer_storage_gles2.h')
-rw-r--r--drivers/gles2/rasterizer_storage_gles2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.h b/drivers/gles2/rasterizer_storage_gles2.h
index 8f5565c96f..361f304a17 100644
--- a/drivers/gles2/rasterizer_storage_gles2.h
+++ b/drivers/gles2/rasterizer_storage_gles2.h
@@ -94,6 +94,7 @@ public:
GLuint depth_internalformat;
GLuint depth_type;
+
} config;
struct Resources {