mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-23 10:34:10 -04:00
Font preloader, new demod no-move drag fix
This commit is contained in:
@@ -54,7 +54,10 @@ void PrimaryGLContext::CheckGLError() {
|
||||
PrimaryGLContext::PrimaryGLContext(wxGLCanvas *canvas, wxGLContext *sharedContext) :
|
||||
wxGLContext(canvas, sharedContext) {
|
||||
SetCurrent(*canvas);
|
||||
|
||||
// Pre-load fonts
|
||||
for (int i = 0; i < GLFONT_MAX; i++) {
|
||||
getFont((GLFontSize)i);
|
||||
}
|
||||
CheckGLError();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user