opengl renderer: Enable and fix renderer Mac support
The following enables the renderer build on darwin. Moved platform specific type declarations from render_api.h to render_api_platform_types.h so it can be included from the objective c code. Fixed subwindow to use EmuGLView which overrides NSView to prevent background drawing of the view.
This commit is contained in:
committed by
Guy Zadickario
parent
2683b10bdd
commit
b68a421908
@@ -1,8 +1,5 @@
|
||||
LOCAL_PATH:=$(call my-dir)
|
||||
|
||||
# For now, OS X is not supported
|
||||
ifneq ($(HOST_OS),darwin)
|
||||
|
||||
$(call emugl-begin-host-executable,emulator_test_renderer)
|
||||
$(call emugl-import,libOpenglRender)
|
||||
|
||||
@@ -23,5 +20,3 @@ endif
|
||||
LOCAL_STATIC_LIBRARIES += libSDL libSDLmain
|
||||
|
||||
$(call emugl-end-module)
|
||||
|
||||
endif # HOST_OS != darwin
|
||||
|
||||
Reference in New Issue
Block a user