summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-07-22 16:05:34 +0200
committerGitHub <noreply@github.com>2018-07-22 16:05:34 +0200
commit790a81d715e00cb4e58ffe2a77743c3b620b5642 (patch)
tree063be2fee9bf9cb8b01f55209073d9945fa9fcf8
parentf1e2874ca96db9295a3c30d0321cf694133407d5 (diff)
parentd2e909847d28e7171b3b5d0d0748957087cee606 (diff)
Merge pull request #20351 from dragmz/20326
Initialize texture shrink to false by default
-rw-r--r--drivers/gles2/rasterizer_storage_gles2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp
index 2da496d4b7..0dc506d991 100644
--- a/drivers/gles2/rasterizer_storage_gles2.cpp
+++ b/drivers/gles2/rasterizer_storage_gles2.cpp
@@ -2005,6 +2005,8 @@ void RasterizerStorageGLES2::initialize() {
}
}
+ config.shrink_textures_x2 = false;
+
frame.count = 0;
frame.prev_tick = 0;
frame.delta = 0;