Commit 7200f181 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Backport NO_REND for libretro

parent 7629b7aa
......@@ -4,6 +4,8 @@ CC_AS ?= $(CC)
STRIP = ${CC_PREFIX}strip
LD = ${CC}
NO_REND := 1
TARGET_NAME := reicast
MFLAGS :=
......@@ -150,7 +152,14 @@ ifdef NO_REC
RZDCY_CFLAGS += -DTARGET_NO_REC
endif
ifdef USE_GLES
ifeq ($(NO_REND),1)
USE_GLES = 0
RZDCY_CFLAGS += -DNO_REND=1
CFLAGS += -DNO_REND
CXXFLAGS += -DNO_REND
endif
ifeq ($(USE_GLES),1)
RZDCY_CFLAGS += -DGLES
endif
......
......@@ -93,9 +93,14 @@ SOURCES_CXX := $(CORE_DIR)/cfg/ini.cpp \
$(CORE_DIR)/reios/gdrom_hle.cpp \
$(CORE_DIR)/reios/descrambl.cpp \
\
$(CORE_DIR)/rend/gles/gldraw.cpp \
ifeq ($(NO_REND), 1)
SOURCES_CXX += $(CORE_DIR)/rend/norend/norend.cpp
else
SOURCES_CXX += $(CORE_DIR)/rend/gles/gldraw.cpp \
$(CORE_DIR)/rend/gles/gles.cpp \
$(CORE_DIR)/rend/gles/gltex.cpp
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment