mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-15 13:07:58 -04:00
frame timing adjustment
This commit is contained in:
parent
e1016e5cc5
commit
c60a5aa019
@ -351,7 +351,8 @@ AppFrame::AppFrame() :
|
|||||||
wxAcceleratorTable accel(3, entries);
|
wxAcceleratorTable accel(3, entries);
|
||||||
SetAcceleratorTable(accel);
|
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 };
|
// static const int attribs[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, 0 };
|
||||||
// wxLogStatus("Double-buffered display %s supported", wxGLCanvas::IsDisplaySupported(attribs) ? "is" : "not");
|
// wxLogStatus("Double-buffered display %s supported", wxGLCanvas::IsDisplaySupported(attribs) ? "is" : "not");
|
||||||
// ShowFullScreen(true);
|
// ShowFullScreen(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user