1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2025-01-31 03:18:50 -05:00

Fixed incorrect hint default.

The default for the GLFW_ALPHA_BITS hint was zero instead of 8.
This commit is contained in:
Camilla Berglund 2013-06-17 17:42:22 +02:00
parent 5ae2e376a2
commit c10bf9ba9c
2 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,7 @@ See the [GLFW 3.0 documentation](http://www.glfw.org/docs/3.0/).
## Changelog ## Changelog
- Bugfix: The `-Wall` flag was not used with Clang and other GCC compatibles - Bugfix: The `-Wall` flag was not used with Clang and other GCC compatibles
- Bugfix: The default for `GLFW_ALPHA_BITS` was set to zero
## Contact ## Contact
@ -184,6 +185,7 @@ skills.
- Bradley Smith - Bradley Smith
- Julian Squires - Julian Squires
- Johannes Stein - Johannes Stein
- Justin Stoecker
- Nathan Sweet - Nathan Sweet
- TTK-Bandit - TTK-Bandit
- Sergey Tikhomirov - Sergey Tikhomirov

View File

@ -284,6 +284,7 @@ void glfwDefaultWindowHints(void)
_glfw.hints.redBits = 8; _glfw.hints.redBits = 8;
_glfw.hints.greenBits = 8; _glfw.hints.greenBits = 8;
_glfw.hints.blueBits = 8; _glfw.hints.blueBits = 8;
_glfw.hints.alphaBits = 8;
_glfw.hints.depthBits = 24; _glfw.hints.depthBits = 24;
_glfw.hints.stencilBits = 8; _glfw.hints.stencilBits = 8;
} }