mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Everyone needs to be able to split BPPs these days.
This commit is contained in:
@@ -792,9 +792,7 @@ void _glfwPlatformRefreshWindowParams(void)
|
||||
forAttribute:NSOpenGLPFAColorSize
|
||||
forVirtualScreen:0];
|
||||
value -= window->alphaBits;
|
||||
window->redBits = value / 3;
|
||||
window->greenBits = value / 3;
|
||||
window->blueBits = value / 3;
|
||||
_glfwSplitBPP(value, &window->redBits, &window->greenBits, &window->blueBits);
|
||||
|
||||
[window->NSGL.pixelFormat getValues:&value
|
||||
forAttribute:NSOpenGLPFADepthSize
|
||||
|
||||
Reference in New Issue
Block a user