Merge pull request #24 from rkitover/master
make OpenGL default render method on OS X
This commit is contained in:
commit
153a5bf686
|
@ -215,8 +215,7 @@ ENDIF(NOT WIN32 AND NOT APPLE)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# this should set ROM file types correctly
|
# this should set ROM file types correctly
|
||||||
SET_PROPERTY(TARGET visualboyadvance-m APPEND PROPERTY MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/wxplist.in)
|
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_ICON})
|
||||||
SET(MACOSX_BUNDLE_ICON_FILE vbam.icns)
|
|
||||||
SET_SOURCE_FILES_PROPERTIES(${VBAM_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
SET_SOURCE_FILES_PROPERTIES(${VBAM_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
|
|
||||||
|
|
|
@ -276,6 +276,7 @@ opts_t::opts_t()
|
||||||
#else
|
#else
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
audio_api = AUD_OPENAL;
|
audio_api = AUD_OPENAL;
|
||||||
|
render_method = RND_OPENGL;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
video_scale = 3;
|
video_scale = 3;
|
||||||
|
|
Loading…
Reference in New Issue