mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
Port Linux GLimp to SDL
Use SDL to set video modes, get a GL context and detect the amount of VRAM. As with the Linux GLimp implementation, sys_videoRam can be used in case the SDL detection fails.
This commit is contained in:
parent
1597e6c3b3
commit
ff36277408
1 changed files with 1 additions and 3 deletions
|
@ -98,7 +98,6 @@ include_directories(${SDL_INCLUDE_DIR})
|
|||
|
||||
if (UNIX AND NOT APPLE)
|
||||
find_package(X11 REQUIRED)
|
||||
add_definitions(-DXTHREADS)
|
||||
include_directories(${X11_INCLUDE_DIR})
|
||||
|
||||
if (os MATCHES ".*bsd" OR os STREQUAL "dragonfly")
|
||||
|
@ -685,10 +684,9 @@ else()
|
|||
|
||||
set(src_sys_core
|
||||
${src_stub_util}
|
||||
sys/glimp.cpp
|
||||
sys/posix/posix_input.cpp
|
||||
sys/linux/glimp.cpp
|
||||
sys/linux/input.cpp
|
||||
sys/linux/libXNVCtrl/NVCtrl.c
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue