make OpenGL default render method on OS X

Currently the "simple" render method is way too slow on OS X, while
Cairo is completely broken. The OpenGL renderer, on the other hand, runs
with almost no stuttering.

Also fix dangling icon file after OS X build.
This commit is contained in:
Rafael Kitover 2016-09-22 11:00:47 -07:00
parent 30801e1554
commit 98e82247fc
2 changed files with 3 additions and 3 deletions

View File

@ -215,8 +215,7 @@ ENDIF(NOT WIN32 AND NOT APPLE)
if(APPLE)
# this should set ROM file types correctly
SET_PROPERTY(TARGET visualboyadvance-m APPEND PROPERTY MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/wxplist.in)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/vbam.icns DESTINATION ${CMAKE_CURRENT_SOURCE_DIR})
SET(MACOSX_BUNDLE_ICON_FILE vbam.icns)
SET(MACOSX_BUNDLE_ICON_FILE ${VBAM_ICON})
SET_SOURCE_FILES_PROPERTIES(${VBAM_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
endif(APPLE)

View File

@ -276,6 +276,7 @@ opts_t::opts_t()
#else
#ifdef __WXMAC__
audio_api = AUD_OPENAL;
render_method = RND_OPENGL;
#endif
#endif
video_scale = 3;