mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed build on Steam Link hardware
This commit is contained in:
parent
decbbb0499
commit
8238a128c3
2 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue