Made error message tags more consistent.

This commit is contained in:
Camilla Berglund
2012-12-13 19:18:04 +01:00
parent 9a659c287e
commit 9c0e19adca
8 changed files with 23 additions and 32 deletions
+3 -1
View File
@@ -294,7 +294,9 @@ static int createContext(_GLFWwindow* window,
if (wndconfig->glMajor != 1 || wndconfig->glMinor != 0)
{
// Request an explicitly versioned context
// NOTE: Only request an explicitly versioned context when
// necessary, as explicitly requesting version 1.0 does not always
// return the highest available version
setGLXattrib(attribs, index, GLX_CONTEXT_MAJOR_VERSION_ARB, wndconfig->glMajor);
setGLXattrib(attribs, index, GLX_CONTEXT_MINOR_VERSION_ARB, wndconfig->glMinor);