mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 15:44:35 +00:00
Added channel bit depth hint defaults.
This commit is contained in:
parent
3ef7c55458
commit
54f1a57f8d
@ -84,6 +84,12 @@ void _glfwSetDefaultWindowHints(void)
|
|||||||
|
|
||||||
// The default is to allow window resizing
|
// The default is to allow window resizing
|
||||||
_glfwLibrary.hints.resizable = GL_TRUE;
|
_glfwLibrary.hints.resizable = GL_TRUE;
|
||||||
|
|
||||||
|
// The default is 24 bits of depth, 8 bits of color
|
||||||
|
_glfwLibrary.hints.depthBits = 24;
|
||||||
|
_glfwLibrary.hints.redBits = 8;
|
||||||
|
_glfwLibrary.hints.greenBits = 8;
|
||||||
|
_glfwLibrary.hints.blueBits = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user