Skip to content

Commit 6b203a2

Browse files
committed
updated some default build config
1 parent dedcc03 commit 6b203a2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile.webos

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WEBOS_INC_DIR ?= $(STAGING_DIR)/usr/include
1717
WEBOS_LIB_DIR ?= $(STAGING_DIR)/usr/lib
1818

1919
ADD_SDL2_LIB ?= 0
20-
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
20+
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
2121

2222
#########################
2323
#########################
@@ -158,6 +158,8 @@ SDL2_CFLAGS := $(shell $(PKG_CONFIG) --cflags sdl2)
158158
SDL2_LIBS := $(shell $(PKG_CONFIG) --libs sdl2)
159159
OPENGLES_LIBS = -lGLESv2
160160
PULSE_LIBS = $(shell $(PKG_CONFIG) --libs libpulse)
161+
FREETYPE_CFLAGS := $(shell $(WEBOS_FREETYPE_CONFIG) --cflags)
162+
FREETYPE_LIBS := $(shell $(WEBOS_FREETYPE_CONFIG) --libs)
161163
MMAP_LIBS = -lc
162164
NEON_CFLAGS = -mfpu=neon
163165
NEON_ASFLAGS = -mfpu=neon

gfx/drivers_context/sdl_gl_ctx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void *sdl_ctx_init(void *video_driver)
109109
#ifdef WEBOS
110110
SDL_SetHint(SDL_HINT_WEBOS_ACCESS_POLICY_KEYS_BACK, "true");
111111
SDL_SetHint(SDL_HINT_WEBOS_ACCESS_POLICY_KEYS_EXIT, "true");
112-
SDL_SetHint(SDL_HINT_WEBOS_CURSOR_SLEEP_TIME, "1000");
112+
SDL_SetHint(SDL_HINT_WEBOS_CURSOR_SLEEP_TIME, "5000");
113113
#endif
114114

115115
/* Initialise graphics subsystem, if required */

0 commit comments

Comments
 (0)