]> git.cworth.org Git - apitrace/blobdiff - retrace/glws_wgl.cpp
Merge branch 'attrib_list'
[apitrace] / retrace / glws_wgl.cpp
index de6c7d6b546161fe4c1968cb1f3305632cb1dee9..9244b799d4ae2566bc5ee7fd92577be40c47a6e9 100644 (file)
@@ -188,14 +188,14 @@ public:
             return;
         }
 
+        Drawable::resize(w, h);
+
         RECT rClient, rWindow;
         GetClientRect(hWnd, &rClient);
         GetWindowRect(hWnd, &rWindow);
         w += (rWindow.right  - rWindow.left) - rClient.right;
         h += (rWindow.bottom - rWindow.top)  - rClient.bottom;
         SetWindowPos(hWnd, NULL, rWindow.left, rWindow.top, w, h, SWP_NOMOVE);
-
-        Drawable::resize(w, h);
     }
 
     void show(void) {