summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_gles3.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-11-23 07:04:55 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-11-23 07:04:55 -0300
commit7cf8d75cf8c49d02a72eac1d5342808526fa54ef (patch)
tree01fd616a0d376dccb227388365eba46674e151b5 /drivers/gles3/rasterizer_gles3.cpp
parentb72ca046051018628a31bc458dd730384ebddbe8 (diff)
WIP immediates and proper buffers swapping
Diffstat (limited to 'drivers/gles3/rasterizer_gles3.cpp')
-rw-r--r--drivers/gles3/rasterizer_gles3.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gles3/rasterizer_gles3.cpp b/drivers/gles3/rasterizer_gles3.cpp
index ebcedd5f05..9046028705 100644
--- a/drivers/gles3/rasterizer_gles3.cpp
+++ b/drivers/gles3/rasterizer_gles3.cpp
@@ -276,8 +276,7 @@ void RasterizerGLES3::end_frame(){
canvas->draw_generic_textured_rect(Rect2(0,0,15,15),Rect2(0,0,1,1));
#endif
- if (ContextGL::get_singleton())
- ContextGL::get_singleton()->swap_buffers();
+ OS::get_singleton()->swap_buffers();
}
void RasterizerGLES3::finalize(){