mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
Move stb_image_write.h into vid. It's used there, only.
This commit is contained in:
parent
af703e8cd9
commit
10bdaaec06
4 changed files with 4 additions and 6 deletions
|
@ -167,7 +167,6 @@ set(Backends-Generic-Source
|
|||
)
|
||||
|
||||
set(Backends-Unix-Source
|
||||
${BACKENDS_SRC_DIR}/generic/misc.c
|
||||
${BACKENDS_SRC_DIR}/unix/main.c
|
||||
${BACKENDS_SRC_DIR}/unix/network.c
|
||||
${BACKENDS_SRC_DIR}/unix/signalhandler.c
|
||||
|
@ -363,6 +362,7 @@ set(Client-Header
|
|||
${CLIENT_SRC_DIR}/sound/header/sound.h
|
||||
${CLIENT_SRC_DIR}/sound/header/vorbis.h
|
||||
${CLIENT_SRC_DIR}/vid/header/ref.h
|
||||
${CLIENT_SRC_DIR}/vid/header/stb_image_write.h
|
||||
${CLIENT_SRC_DIR}/vid/header/vid.h
|
||||
${COMMON_SRC_DIR}/header/common.h
|
||||
${COMMON_SRC_DIR}/header/crc.h
|
||||
|
@ -452,7 +452,6 @@ set(GL1-Header
|
|||
${REF_SRC_DIR}/gl1/header/local.h
|
||||
${REF_SRC_DIR}/gl1/header/model.h
|
||||
${REF_SRC_DIR}/gl1/header/qgl.h
|
||||
${BACKENDS_SRC_DIR}/generic/header/stb_image_write.h
|
||||
${COMMON_SRC_DIR}/header/shared.h
|
||||
)
|
||||
|
||||
|
@ -492,7 +491,6 @@ set(GL3-Header
|
|||
${REF_SRC_DIR}/gl3/header/HandmadeMath.h
|
||||
${REF_SRC_DIR}/gl3/header/local.h
|
||||
${REF_SRC_DIR}/gl3/header/model.h
|
||||
${BACKENDS_SRC_DIR}/generic/header/stb_image_write.h
|
||||
${COMMON_SRC_DIR}/header/shared.h
|
||||
)
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -871,6 +871,7 @@ endif
|
|||
|
||||
# Used by the server
|
||||
SERVER_OBJS_ := \
|
||||
src/backends/generic/misc.o \
|
||||
src/common/argproc.o \
|
||||
src/common/clientserver.o \
|
||||
src/common/collision.o \
|
||||
|
@ -899,8 +900,7 @@ SERVER_OBJS_ := \
|
|||
src/server/sv_save.o \
|
||||
src/server/sv_send.o \
|
||||
src/server/sv_user.o \
|
||||
src/server/sv_world.o \
|
||||
src/backends/generic/misc.o
|
||||
src/server/sv_world.o
|
||||
|
||||
ifeq ($(YQ2_OSTYPE), Windows)
|
||||
SERVER_OBJS_ += \
|
||||
|
|
|
@ -67,7 +67,7 @@ compress_for_stbiw(unsigned char *data, int data_len, int *out_len, int quality)
|
|||
#endif
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include "../../backends/generic/header/stb_image_write.h"
|
||||
#include "header/stb_image_write.h"
|
||||
|
||||
/*
|
||||
* Writes a screenshot. This function is called with raw image data of
|
||||
|
|
Loading…
Reference in a new issue