Kaynağa Gözat

OSMesa: Fix invalid window frame size

Camilla Löwy 8 yıl önce
ebeveyn
işleme
2ea7f9769a
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  1. 0 4
      src/osmesa_window.c

+ 0 - 4
src/osmesa_window.c

@@ -136,10 +136,6 @@ void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window,
                                      int* left, int* top,
                                      int* right, int* bottom)
 {
-    if (right)
-        *right = window->osmesa.width;
-    if (bottom)
-        *top = window->osmesa.height;
 }
 
 void _glfwPlatformIconifyWindow(_GLFWwindow* window)