mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-14 00:41:03 +00:00
Move refresh.c into the client and rename to glimp_sdl.c.
The GL backends have been an integral part of the vid interface for years.
This commit is contained in:
parent
b805b4e044
commit
5bff7e1568
3 changed files with 3 additions and 3 deletions
|
@ -164,7 +164,6 @@ endif()
|
||||||
|
|
||||||
set(Backends-Generic-Source
|
set(Backends-Generic-Source
|
||||||
${BACKENDS_SRC_DIR}/generic/misc.c
|
${BACKENDS_SRC_DIR}/generic/misc.c
|
||||||
${BACKENDS_SRC_DIR}/sdl/refresh.c
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set(Backends-Unix-Source
|
set(Backends-Unix-Source
|
||||||
|
@ -318,6 +317,7 @@ set(Client-Source
|
||||||
${CLIENT_SRC_DIR}/sound/sdl.c
|
${CLIENT_SRC_DIR}/sound/sdl.c
|
||||||
${CLIENT_SRC_DIR}/sound/sound.c
|
${CLIENT_SRC_DIR}/sound/sound.c
|
||||||
${CLIENT_SRC_DIR}/sound/wave.c
|
${CLIENT_SRC_DIR}/sound/wave.c
|
||||||
|
${CLIENT_SRC_DIR}/vid/glimp_sdl.c
|
||||||
${CLIENR_SRC_DIR}/vid/vid.c
|
${CLIENR_SRC_DIR}/vid/vid.c
|
||||||
${COMMON_SRC_DIR}/argproc.c
|
${COMMON_SRC_DIR}/argproc.c
|
||||||
${COMMON_SRC_DIR}/clientserver.c
|
${COMMON_SRC_DIR}/clientserver.c
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -691,7 +691,6 @@ GAME_OBJS_ = \
|
||||||
# Used by the client
|
# Used by the client
|
||||||
CLIENT_OBJS_ := \
|
CLIENT_OBJS_ := \
|
||||||
src/backends/generic/misc.o \
|
src/backends/generic/misc.o \
|
||||||
src/backends/sdl/refresh.o \
|
|
||||||
src/client/cl_cin.o \
|
src/client/cl_cin.o \
|
||||||
src/client/cl_console.o \
|
src/client/cl_console.o \
|
||||||
src/client/cl_download.o \
|
src/client/cl_download.o \
|
||||||
|
@ -719,6 +718,7 @@ CLIENT_OBJS_ := \
|
||||||
src/client/sound/qal.o \
|
src/client/sound/qal.o \
|
||||||
src/client/sound/sound.o \
|
src/client/sound/sound.o \
|
||||||
src/client/sound/wave.o \
|
src/client/sound/wave.o \
|
||||||
|
src/client/vid/glimp_sdl.o \
|
||||||
src/client/vid/vid.o \
|
src/client/vid/vid.o \
|
||||||
src/common/argproc.o \
|
src/common/argproc.o \
|
||||||
src/common/clientserver.o \
|
src/common/clientserver.o \
|
||||||
|
|
|
@ -97,7 +97,7 @@ GetWindowSize(int* w, int* h)
|
||||||
static void
|
static void
|
||||||
SetSDLIcon()
|
SetSDLIcon()
|
||||||
{
|
{
|
||||||
#include "icon/q2icon64.h" // 64x64 32 Bit
|
#include "../../backends/sdl/icon/q2icon64.h" // 64x64 32 Bit
|
||||||
|
|
||||||
/* these masks are needed to tell SDL_CreateRGBSurface(From)
|
/* these masks are needed to tell SDL_CreateRGBSurface(From)
|
||||||
to assume the data it gets is byte-wise RGB(A) data */
|
to assume the data it gets is byte-wise RGB(A) data */
|
Loading…
Reference in a new issue