mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +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)
|
#if defined(HAVE_COCOA)
|
||||||
CocoaView *g_view = (CocoaView*)nsview_get_ptr();
|
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 [] = {
|
NSOpenGLPixelFormatAttribute attributes [] = {
|
||||||
NSOpenGLPFAColorSize, 24,
|
NSOpenGLPFAColorSize, 24,
|
||||||
NSOpenGLPFADoubleBuffer,
|
NSOpenGLPFADoubleBuffer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user