mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-12-24 11:20:23 -05:00
frame timing adjustment
This commit is contained in:
parent
e1016e5cc5
commit
c60a5aa019
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user