This commit is contained in:
degasus 2013-03-05 15:17:00 +01:00
parent efcfc5c014
commit 4714e4f99c

View File

@ -96,8 +96,8 @@ bool cInterfaceAGL::MakeCurrent()
width = [[GLWin.cocoaWin contentView] frame].size.width; width = [[GLWin.cocoaWin contentView] frame].size.width;
height = [[GLWin.cocoaWin contentView] frame].size.height; height = [[GLWin.cocoaWin contentView] frame].size.height;
if (width == s_backbuffer_width && height == s_backbuffer_height) //if (width == s_backbuffer_width && height == s_backbuffer_height)
return true; // return true;
[GLWin.cocoaCtx setView: [GLWin.cocoaWin contentView]]; [GLWin.cocoaCtx setView: [GLWin.cocoaWin contentView]];
[GLWin.cocoaCtx update]; [GLWin.cocoaCtx update];