mirror of
https://github.com/glfw/glfw.git
synced 2024-12-12 11:47:09 +00:00
Fixed copypaste errors in format selection.
This commit is contained in:
parent
6107170ebb
commit
9b6fb32dc2
@ -131,7 +131,7 @@ int _glfwCreateContext(_GLFWwindow* window,
|
|||||||
if (fbconfig->blueBits)
|
if (fbconfig->blueBits)
|
||||||
setEGLattrib(EGL_BLUE_SIZE, fbconfig->blueBits);
|
setEGLattrib(EGL_BLUE_SIZE, fbconfig->blueBits);
|
||||||
if (fbconfig->alphaBits)
|
if (fbconfig->alphaBits)
|
||||||
setEGLattrib(EGL_BLUE_SIZE, fbconfig->alphaBits);
|
setEGLattrib(EGL_ALPHA_SIZE, fbconfig->alphaBits);
|
||||||
|
|
||||||
if (fbconfig->depthBits)
|
if (fbconfig->depthBits)
|
||||||
setEGLattrib(EGL_DEPTH_SIZE, fbconfig->depthBits);
|
setEGLattrib(EGL_DEPTH_SIZE, fbconfig->depthBits);
|
||||||
|
@ -286,7 +286,7 @@ int _glfwCreateContext(_GLFWwindow* window,
|
|||||||
if (fbconfig->blueBits)
|
if (fbconfig->blueBits)
|
||||||
setGLXattrib(GLX_BLUE_SIZE, fbconfig->blueBits);
|
setGLXattrib(GLX_BLUE_SIZE, fbconfig->blueBits);
|
||||||
if (fbconfig->alphaBits)
|
if (fbconfig->alphaBits)
|
||||||
setGLXattrib(GLX_BLUE_SIZE, fbconfig->alphaBits);
|
setGLXattrib(GLX_ALPHA_SIZE, fbconfig->alphaBits);
|
||||||
|
|
||||||
if (fbconfig->depthBits)
|
if (fbconfig->depthBits)
|
||||||
setGLXattrib(GLX_DEPTH_SIZE, fbconfig->depthBits);
|
setGLXattrib(GLX_DEPTH_SIZE, fbconfig->depthBits);
|
||||||
|
@ -197,7 +197,7 @@ int _glfwCreateContext(_GLFWwindow* window,
|
|||||||
if (fbconfig->blueBits)
|
if (fbconfig->blueBits)
|
||||||
setWGLattrib(WGL_BLUE_BITS_ARB, fbconfig->blueBits);
|
setWGLattrib(WGL_BLUE_BITS_ARB, fbconfig->blueBits);
|
||||||
if (fbconfig->alphaBits)
|
if (fbconfig->alphaBits)
|
||||||
setWGLattrib(WGL_BLUE_BITS_ARB, fbconfig->alphaBits);
|
setWGLattrib(WGL_ALPHA_BITS_ARB, fbconfig->alphaBits);
|
||||||
|
|
||||||
if (fbconfig->depthBits)
|
if (fbconfig->depthBits)
|
||||||
setWGLattrib(WGL_DEPTH_BITS_ARB, fbconfig->depthBits);
|
setWGLattrib(WGL_DEPTH_BITS_ARB, fbconfig->depthBits);
|
||||||
|
Loading…
Reference in New Issue
Block a user