mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-03 20:12:41 +00:00
Fixed build on Steam Link hardware
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user