Fixed copypaste errors in format selection.

This commit is contained in:
Camilla Berglund
2013-01-16 19:49:15 +01:00
parent 6107170ebb
commit 9b6fb32dc2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ int _glfwCreateContext(_GLFWwindow* window,
if (fbconfig->blueBits)
setGLXattrib(GLX_BLUE_SIZE, fbconfig->blueBits);
if (fbconfig->alphaBits)
setGLXattrib(GLX_BLUE_SIZE, fbconfig->alphaBits);
setGLXattrib(GLX_ALPHA_SIZE, fbconfig->alphaBits);
if (fbconfig->depthBits)
setGLXattrib(GLX_DEPTH_SIZE, fbconfig->depthBits);