frame timing adjustment

This commit is contained in:
Charles J. Cliffe 2015-08-10 18:30:22 -04:00
parent e1016e5cc5
commit c60a5aa019

View File

@ -351,7 +351,8 @@ AppFrame::AppFrame() :
wxAcceleratorTable accel(3, entries);
SetAcceleratorTable(accel);
frame_timer.Start(30);
// frame rate = 1000 / 30 = 33ms
frame_timer.Start(33);
// static const int attribs[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, 0 };
// wxLogStatus("Double-buffered display %s supported", wxGLCanvas::IsDisplaySupported(attribs) ? "is" : "not");
// ShowFullScreen(true);