X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fglws_wgl.cpp;h=9244b799d4ae2566bc5ee7fd92577be40c47a6e9;hb=c037ae2b4f749aed15ede635a6b517534bc5a901;hp=de6c7d6b546161fe4c1968cb1f3305632cb1dee9;hpb=84a2294dbcab7daad48802df4d4f50ea759008a7;p=apitrace diff --git a/retrace/glws_wgl.cpp b/retrace/glws_wgl.cpp index de6c7d6..9244b79 100644 --- a/retrace/glws_wgl.cpp +++ b/retrace/glws_wgl.cpp @@ -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) {