WIP immediates and proper buffers swapping

This commit is contained in:
Juan Linietsky
2016-11-23 07:04:55 -03:00
parent b72ca04605
commit 7cf8d75cf8
9 changed files with 185 additions and 26 deletions
+1 -2
View File
@@ -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(){