Skip to content

Commit

Permalink
updated some default build config
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Oct 31, 2024
1 parent dedcc03 commit 6b203a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile.webos
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ WEBOS_INC_DIR ?= $(STAGING_DIR)/usr/include
WEBOS_LIB_DIR ?= $(STAGING_DIR)/usr/lib

ADD_SDL2_LIB ?= 0
SDL2_PREBUILT_ARCHIVE ?= https://github.com/webosbrew/SDL-webOS/releases/download/release-2.30.8-webos.2/SDL2-2.30.8-webos-abi.tar.gz
SDL2_PREBUILT_ARCHIVE ?= https://github.com/webosbrew/SDL-webOS/releases/download/release-2.30.8-webos.3/SDL2-2.30.8-webos-abi.tar.gz

#########################
#########################
Expand Down Expand Up @@ -158,6 +158,8 @@ SDL2_CFLAGS := $(shell $(PKG_CONFIG) --cflags sdl2)
SDL2_LIBS := $(shell $(PKG_CONFIG) --libs sdl2)
OPENGLES_LIBS = -lGLESv2
PULSE_LIBS = $(shell $(PKG_CONFIG) --libs libpulse)
FREETYPE_CFLAGS := $(shell $(WEBOS_FREETYPE_CONFIG) --cflags)
FREETYPE_LIBS := $(shell $(WEBOS_FREETYPE_CONFIG) --libs)
MMAP_LIBS = -lc
NEON_CFLAGS = -mfpu=neon
NEON_ASFLAGS = -mfpu=neon
Expand Down
2 changes: 1 addition & 1 deletion gfx/drivers_context/sdl_gl_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void *sdl_ctx_init(void *video_driver)
#ifdef WEBOS
SDL_SetHint(SDL_HINT_WEBOS_ACCESS_POLICY_KEYS_BACK, "true");
SDL_SetHint(SDL_HINT_WEBOS_ACCESS_POLICY_KEYS_EXIT, "true");
SDL_SetHint(SDL_HINT_WEBOS_CURSOR_SLEEP_TIME, "1000");
SDL_SetHint(SDL_HINT_WEBOS_CURSOR_SLEEP_TIME, "5000");
#endif

/* Initialise graphics subsystem, if required */
Expand Down

0 comments on commit 6b203a2

Please sign in to comment.