Skip to content

Commit e3d1241

Browse files
committed
sdl3
1 parent 071e300 commit e3d1241

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test_sdl3.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,10 +2226,10 @@ def fs_decode(fsname, o248):
22262226
if wasm:
22272227
import platform
22282228

2229-
if 0:
2230-
WIDTH = 1024
2231-
HEIGHT = 600
2229+
WIDTH = 512
2230+
HEIGHT = 300
22322231

2232+
if 0:
22332233
if wasm:
22342234
platform.window.canvas.width = WIDTH
22352235
platform.window.canvas.height = HEIGHT
@@ -2284,7 +2284,7 @@ async def main(argc: ctypes.c_int, argv: sdl3.LP_c_char_p) -> ctypes.c_int:
22842284
print(f"failed to initialize library: {sdl3.SDL_GetError().decode().lower()}.")
22852285
return -1
22862286

2287-
window = sdl3.SDL_CreateWindow("Aermoss".encode(), 1024, 600, sdl3.SDL_WINDOW_TRANSPARENT, sdl3.SDL_WINDOW_RESIZABLE)
2287+
window = sdl3.SDL_CreateWindow("Aermoss".encode(), WIDTH, HEIGHT, sdl3.SDL_WINDOW_TRANSPARENT, sdl3.SDL_WINDOW_RESIZABLE)
22882288

22892289

22902290

0 commit comments

Comments
 (0)