mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Ripped out horribly broken refresh rate mess.
This commit is contained in:
+1
-14
@@ -772,13 +772,8 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
||||
{
|
||||
int bpp = colorBits + fbconfig->alphaBits;
|
||||
|
||||
if (!_glfwSetVideoMode(&window->width,
|
||||
&window->height,
|
||||
&bpp,
|
||||
&window->refreshRate))
|
||||
{
|
||||
if (!_glfwSetVideoMode(&window->width, &window->height, &bpp))
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
_glfwPlatformShowWindow(window);
|
||||
[[window->NS.object contentView] enterFullScreenMode:[NSScreen mainScreen]
|
||||
@@ -885,14 +880,6 @@ void _glfwPlatformHideWindow(_GLFWwindow* window)
|
||||
_glfwInputWindowVisibility(window, GL_FALSE);
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// Write back window parameters into GLFW window structure
|
||||
//========================================================================
|
||||
|
||||
void _glfwPlatformRefreshWindowParams(_GLFWwindow* window)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Poll for new window and input events
|
||||
|
||||
Reference in New Issue
Block a user