mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix filcker
This commit is contained in:
+2
-2
@@ -40,7 +40,7 @@ MapperGLCanvas::MapperGLCanvas(wxFrame *parent) :
|
||||
}
|
||||
|
||||
void MapperGLCanvas::Paintit(wxPaintEvent& WXUNUSED(event)) {
|
||||
GetParent()->Refresh();
|
||||
//GetParent()->Refresh();
|
||||
Render();
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ void MapperGLCanvas::enterRender() {
|
||||
}
|
||||
|
||||
void MapperGLCanvas::exitRender() {
|
||||
glFlush();
|
||||
glFlush();
|
||||
SwapBuffers();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user