aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2024-12-14 15:51:54 +0100
committerAndre Weissflog <floooh@gmail.com>2024-12-14 15:51:54 +0100
commitbb7126bead8d482bcbb4981cd92d2d5dbb7536a1 (patch)
tree31991b2acb023b7313624842a071aec0dc3a11d5
parentf9218f2ca2484a67f7f349325924822efe9a8b2e (diff)
update changelog (https://github.com/floooh/sokol/pull/1167)
-rw-r--r--CHANGELOG.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bb14b560..3809d7c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,18 @@
## Updates
+### 14-Dec-2024
+
+- sokol_app.h win32: merged PR https://github.com/floooh/sokol/pull/1167, this
+ adds a new config define `SOKOL_WIN32_FORCE_WINMAIN`. This allows to expose
+ both a `main()` and `WinMain()` entry point in the same link library by
+ defining both `SOKOL_WIN32_FORCE_MAIN` and `SOKOL_WIN32_FORCE_WINMAIN` before
+ including the sokol_app.h implementation.
+ In this case sokol_app.h will not automatically activate the right Windows subsystem
+ via `#pragma comment (linker) "/subsystem:X")` though, instead the build system
+ must take care of picking the correct subsystem.
+
+ Many thanks to @Querijn for the PR!
+
### 08-Dec-2924
- sokol_imgui.h: when compiling the implementation in C mode, it is now possible