dont compile with that with NOHW

This commit is contained in:
Alug committed 2024-05-18 23:40:28 +02:00
1 parent c966b5defb
commit de6511abe0
2 files changed
+7 -3

No files matched your search

+5 -3
View File
@@ -512,9 +512,11 @@ if(${SRB2_CONFIG_HWRENDER} AND ${SRB2_CONFIG_STATIC_OPENGL})
endif()
endif()
if(${SRB2_CONFIG_USE_FBO_OGL})
set(SRB2_USE_FBO_OGL ON)
add_definitions(-DUSE_FBO_OGL)
if(${SRB2_CONFIG_HWRENDER})
if(${SRB2_CONFIG_USE_FBO_OGL})
set(SRB2_USE_FBO_OGL ON)
add_definitions(-DUSE_FBO_OGL)
endif()
endif()
# Targets
+2
View File
@@ -376,9 +376,11 @@ ifdef STATIC
LIBS:=-static $(LIBS)
endif
ifndef NOHW
ifdef USE_FBO_OGL
OPTS+=-DUSE_FBO_OGL
endif
endif
ifdef HAVE_MINIUPNPC
ifdef NONET