Show the detected OpenGL version in the popup dialog when GL2.1 or GLES2 isn't available when the window is created.

This commit is contained in:
Alex Szpakowski
2015-08-20 20:34:53 -03:00
parent 1261427304
commit 4daa190513
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ private:
void setGLFramebufferAttributes(int msaa, bool sRGB);
void setGLContextAttributes(const ContextAttribs &attribs);
bool checkGLVersion(const ContextAttribs &attribs);
bool checkGLVersion(const ContextAttribs &attribs, std::string &outversion);
bool createWindowAndContext(int x, int y, int w, int h, Uint32 windowflags, int msaa);
// Update the saved window settings based on the window's actual state.