mirror of https://github.com/encounter/SDL.git
Make sure SDL_VIDEO_RENDER_PSP is set
This commit is contained in:
parent
bfbdf8969e
commit
897c7cfa8b
|
@ -2391,11 +2391,11 @@ elseif(PSP)
|
||||||
endif()
|
endif()
|
||||||
if(SDL_VIDEO)
|
if(SDL_VIDEO)
|
||||||
set(SDL_VIDEO_DRIVER_PSP 1)
|
set(SDL_VIDEO_DRIVER_PSP 1)
|
||||||
|
set(SDL_VIDEO_RENDER_PSP 1)
|
||||||
file(GLOB PSP_VIDEO_SOURCES ${SDL2_SOURCE_DIR}/src/video/psp/*.c)
|
file(GLOB PSP_VIDEO_SOURCES ${SDL2_SOURCE_DIR}/src/video/psp/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${PSP_VIDEO_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${PSP_VIDEO_SOURCES})
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
|
||||||
set(SDL_VIDEO_OPENGL 1)
|
set(SDL_VIDEO_OPENGL 1)
|
||||||
set(HAVE_VIDEO_OPENGL TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND EXTRA_LIBS
|
list(APPEND EXTRA_LIBS
|
||||||
|
|
|
@ -444,6 +444,7 @@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@
|
#cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_METAL @SDL_VIDEO_RENDER_METAL@
|
#cmakedefine SDL_VIDEO_RENDER_METAL @SDL_VIDEO_RENDER_METAL@
|
||||||
#cmakedefine SDL_VIDEO_RENDER_VITA_GXM @SDL_VIDEO_RENDER_VITA_GXM@
|
#cmakedefine SDL_VIDEO_RENDER_VITA_GXM @SDL_VIDEO_RENDER_VITA_GXM@
|
||||||
|
#cmakedefine SDL_VIDEO_RENDER_PSP @SDL_VIDEO_RENDER_PSP@
|
||||||
|
|
||||||
/* Enable OpenGL support */
|
/* Enable OpenGL support */
|
||||||
#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
|
#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
|
||||||
|
|
Loading…
Reference in New Issue