mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 02:26:13 +00:00
(OSX) setWantsBestResolutionOpenGLSurface - OSX 10.7 and up
This commit is contained in:
parent
5bc03fb3a8
commit
f02f1ebc8f
@ -151,7 +151,9 @@ static bool cocoagl_gfx_ctx_init(void *data)
|
||||
|
||||
#if defined(HAVE_COCOA)
|
||||
CocoaView *g_view = (CocoaView*)nsview_get_ptr();
|
||||
[g_view setWantsBestResolutionOpenGLSurface:YES];
|
||||
#if MAC_OS_X_VERSION_10_7
|
||||
[g_view setWantsBestResolutionOpenGLSurface:YES];
|
||||
#endif
|
||||
NSOpenGLPixelFormatAttribute attributes [] = {
|
||||
NSOpenGLPFAColorSize, 24,
|
||||
NSOpenGLPFADoubleBuffer,
|
||||
|
Loading…
x
Reference in New Issue
Block a user