mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sdl, limited redraw event processing for sdl window and overlay modes
improves window resizing within the limits of libpicofe. Proper windowing support would need a redesign.
This commit is contained in:
parent
a2d1369cb5
commit
54f74b8100
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -164,10 +164,10 @@ endif
|
||||||
ifeq "$(PLATFORM)" "generic"
|
ifeq "$(PLATFORM)" "generic"
|
||||||
#ifeq (y,$(shell echo "\#include <GLES/gl.h>" | $(CC) -E -xc - >/dev/null 2>&1 && echo y))
|
#ifeq (y,$(shell echo "\#include <GLES/gl.h>" | $(CC) -E -xc - >/dev/null 2>&1 && echo y))
|
||||||
ifeq "$(HAVE_GLES)" "1"
|
ifeq "$(HAVE_GLES)" "1"
|
||||||
CFLAGS += -DHAVE_GLES -DSDL_REDRAW_EVT
|
CFLAGS += -DHAVE_GLES
|
||||||
LDFLAGS += -lEGL -lGLESv1_CM
|
LDFLAGS += -lEGL -lGLESv1_CM
|
||||||
endif
|
endif
|
||||||
CFLAGS += -DSDL_OVERLAY_2X -DSDL_BUFFER_3X
|
CFLAGS += -DSDL_OVERLAY_2X -DSDL_BUFFER_3X -DSDL_REDRAW_EVT
|
||||||
OBJS += platform/linux/emu.o platform/linux/blit.o # FIXME
|
OBJS += platform/linux/emu.o platform/linux/blit.o # FIXME
|
||||||
ifeq "$(use_inputmap)" "1"
|
ifeq "$(use_inputmap)" "1"
|
||||||
OBJS += platform/common/plat_sdl.o platform/opendingux/inputmap.o
|
OBJS += platform/common/plat_sdl.o platform/opendingux/inputmap.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue