mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
fix agl
This commit is contained in:
parent
efcfc5c014
commit
4714e4f99c
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user