Fix signature of dummy Pgm() function

This commit is contained in:
Simon Richter 2017-04-06 03:00:54 +02:00 committed by Wayne Stambaugh
parent 30446b8327
commit 5d48d8a2f8
1 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,7 @@
#include <wx/frame.h> #include <wx/frame.h>
#include <wx/regex.h> #include <wx/regex.h>
#include <gal/opengl/opengl_gal.h> #include <gal/opengl/opengl_gal.h>
#include <pgm_base.h>
#include <iostream> #include <iostream>
// Required OpenGL version // Required OpenGL version
@ -40,8 +41,10 @@ static wxRegEx OGLVersionRegex( R"(^(\d+)\.(\d+))", wxRE_ADVANCED );
static const int glAttributes[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 8, 0 }; static const int glAttributes[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 8, 0 };
PGM_BASE& Pgm()
void Pgm() {} {
throw std::logic_error("Dummy function called");
}
class OGLTEST_APP : public wxApp class OGLTEST_APP : public wxApp