From: kub Date: Sat, 1 Oct 2022 08:40:14 +0000 (+0000) Subject: sdl, limited redraw event processing for sdl window and overlay modes X-Git-Tag: v2.00~288 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f74b81002442f14d69019140e810db524aa4f6;p=picodrive.git 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. --- diff --git a/Makefile b/Makefile index d34fdbca..fbf25ba2 100644 --- a/Makefile +++ b/Makefile @@ -164,10 +164,10 @@ endif ifeq "$(PLATFORM)" "generic" #ifeq (y,$(shell echo "\#include " | $(CC) -E -xc - >/dev/null 2>&1 && echo y)) ifeq "$(HAVE_GLES)" "1" -CFLAGS += -DHAVE_GLES -DSDL_REDRAW_EVT +CFLAGS += -DHAVE_GLES LDFLAGS += -lEGL -lGLESv1_CM 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 ifeq "$(use_inputmap)" "1" OBJS += platform/common/plat_sdl.o platform/opendingux/inputmap.o