Skip to content

Commit 9b9173b

Browse files
committed
When a window has no internal size, mark it as hidden to ensure it also has no padding
1 parent 814290c commit 9b9173b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CMakeLists.txt

+7-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (${CMAKE_BUILD_TYPE} STREQUAL Release)
1515
else()
1616
set(REMGLK_RS_LIB_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/remglk/target/wasm32-unknown-emscripten/debug)
1717
endif()
18-
18+
#[[
1919
add_executable(glulxe)
2020
add_sources(glulxe "glulxe/"
2121
SRCS accel.c debugger.c exec.c files.c float.c funcs.c
@@ -24,7 +24,10 @@ add_sources(glulxe "glulxe/"
2424
emglken_vm(glulxe)
2525
target_compile_definitions(glulxe PRIVATE OS_UNIX)
2626
target_compile_options(glulxe PRIVATE -Wall -Wmissing-prototypes -Wno-unused)
27-
27+
#target_link_options(glulxe PRIVATE -sASYNCIFY_IGNORE_INDIRECT)
28+
#target_link_options(glulxe PRIVATE -sASYNCIFY_ADD=@${CMAKE_CURRENT_LIST_DIR}/src/add-list-glulxe.txt)
29+
#target_link_options(glulxe PRIVATE -sASYNCIFY_REMOVE=@${CMAKE_CURRENT_LIST_DIR}/src/remove-list-glulxe.txt)
30+
]]
2831
#[[
2932
add_executable(glulxe-profiler-core)
3033
add_sources(glulxe-profiler-core "glulxe/"
@@ -51,6 +54,7 @@ target_compile_options(bocfel PRIVATE -Wall)
5154
target_compile_options(bocfel PRIVATE -fexceptions)
5255
target_link_options(bocfel PRIVATE -sNO_DISABLE_EXCEPTION_CATCHING)
5356

57+
#[[
5458
add_executable(git)
5559
add_sources(git "git/"
5660
SRCS accel.c compiler.c gestalt.c git.c glkop.c heap.c
@@ -114,4 +118,4 @@ if (${CMAKE_BUILD_TYPE} STREQUAL Debug)
114118
# TADS needs to be compiled in at least -O2, or else it will use 4GB+ of RAM and be very slow
115119
target_compile_options(tads PRIVATE -O2)
116120
target_link_options(tads PRIVATE -O2)
117-
endif()
121+
endif()]]

0 commit comments

Comments
 (0)