diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-19 20:59:54 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-19 20:59:54 +0300 |
commit | ed259629c8e711044d5de0ea7e1acb4e9fb75a49 (patch) | |
tree | ea9ee1bc0488a74dbc37d655ed4cf590d49559e3 /source/blender/windowmanager/intern/wm_subwindow.c | |
parent | 4db8d5a3656b49468cc1f222e3b04cdf4f060f8f (diff) |
* little swap-eroo to get things compiled with msvc.
- first the declarations, then the code! :)
Diffstat (limited to 'source/blender/windowmanager/intern/wm_subwindow.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_subwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c index d19944bcf1a..abc78f06f8f 100644 --- a/source/blender/windowmanager/intern/wm_subwindow.c +++ b/source/blender/windowmanager/intern/wm_subwindow.c @@ -234,8 +234,8 @@ static wmSubWindow *_curswin= NULL; /* enable the WM versions of opengl calls */ void wmSubWindowSet(wmWindow *win, int swinid) { - _curswin= swin_from_swinid(win, swinid); int width, height; + _curswin= swin_from_swinid(win, swinid); if(_curswin==NULL) { printf("wmSubWindowSet %d: doesn't exist\n", swinid); |