Fixed window parameter refresh.

This commit is contained in:
Camilla Berglund
2012-08-03 15:21:49 +02:00
parent 3c912cbc3c
commit 1736132bb2
5 changed files with 10 additions and 12 deletions
+1 -3
View File
@@ -1137,10 +1137,8 @@ void _glfwPlatformRestoreWindow(_GLFWwindow* window)
// Read back framebuffer parameters from the context
//========================================================================
void _glfwPlatformRefreshWindowParams(void)
void _glfwPlatformRefreshWindowParams(_GLFWwindow* window)
{
_GLFWwindow* window = _glfwLibrary.currentWindow;
// Retrieve refresh rate if possible
if (_glfwLibrary.X11.RandR.available)
{