* little swap-eroo to get things compiled with msvc.

- first the declarations, then the code! :)
This commit is contained in:
Nathan Letwory
2008-12-19 17:59:54 +00:00
parent 4db8d5a365
commit ed259629c8

View File

@@ -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);