Fixed build on Steam Link hardware
parent
decbbb0499
commit
8238a128c3
|
@ -670,6 +670,7 @@ macro(CheckVivante)
|
|||
find_library(VIVANTE_VDK_LIBRARY VDK REQUIRED)
|
||||
list(APPEND SDL_EXTRA_LIBS ${VIVANTE_LIBRARY} ${VIVANTE_VDK_LIBRARY})
|
||||
else()
|
||||
target_compile_definitions(sdl-build-options INTERFACE "LINUX;EGL_API_FB")
|
||||
list(APPEND SDL_PC_CFLAGS -DLINUX -DEGL_API_FB)
|
||||
list(APPEND SDL_EXTRA_LIBS EGL)
|
||||
endif(HAVE_VIVANTE_VDK)
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
#include "../SDL_sysvideo.h"
|
||||
|
||||
/* Set up definitions for Vivante EGL */
|
||||
#define LINUX
|
||||
#define EGL_API_FB
|
||||
|
||||
#include <SDL3/SDL_egl.h>
|
||||
|
||||
#if SDL_VIDEO_DRIVER_VIVANTE_VDK
|
||||
|
|
Loading…
Reference in New Issue