Commit Graph

12 Commits

Author SHA1 Message Date
Turánszki János 9a084b582c fix in imgui docking sample 2025-03-30 18:34:00 +02:00
Dennis Brakhane b0390c1f44 require cmake 3.19
We use features that aren't supported before that
2025-03-11 14:20:49 +01:00
Phil Schumann acd31d6dfc cmake: allow static PIC builds with new optional WICKED_PIC_CODE (#1010) 2025-01-11 22:16:41 +01:00
Dennis Brakhane 7f60d7a35b main_sdl2: don't allocate Editor object on stack (#1008)
It became too big for the stack, causing segmentation faults.

Also fix this for the samples and tests.
2025-01-11 09:21:45 +01:00
Jason Andersen 2a4bb4be3c Fix IMGUI Demo with HDR10 (#997)
IMGUI leaves the scissor in a random state.  This messes up the color normalization in HDR10, where the scissor needs to include the whole viewport.  Restore the scissor after IMGUI is done drawing stuff.
2024-12-28 18:29:54 +01:00
Turanszki Janos c4fdd60ab0 test script fix 2024-12-19 12:34:30 +01:00
CitroenGames 765fd549d4 fixing template windows cmake (#983)
* Update CMakeLists.txt

* improved build speed for windows
2024-12-08 10:28:07 +01:00
k4ss4n bada687cba copy imgui docking example fonts to build dir (#979)
Roboto-Medium.ttf expected in current/search directory:
https://github.com/turanszkij/WickedEngine/blob/
0a21fb5c612b161358d94c88edfe083f42006d6b/Samples/Example_ImGui_Docking/
Example_ImGui_Docking.cpp#L171

FONT_ICON_FILE_NAME_MD defined as "MaterialIcons-Regular.ttf" expected in
current/search directory:
https://github.com/turanszkij/WickedEngine/blob/
0a21fb5c612b161358d94c88edfe083f42006d6b/Samples/Example_ImGui_Docking/
Example_ImGui_Docking.cpp#L1605

without these fonts present, debug build of Example_ImGui_Docking fails
asserts:
https://github.com/turanszkij/WickedEngine/blob/
0a21fb5c612b161358d94c88edfe083f42006d6b/Samples/Example_ImGui_Docking/
ImGui/imgui_draw.cpp#L2151
2024-11-12 00:14:15 +01:00
k4ss4n 0a21fb5c61 Update Example_ImGui_Docking.cpp (#978)
Sponza folder has capital S and can't be found on linux if referenced with lower s.
2024-11-10 23:08:39 +01:00
k4ss4n 158ef51b7b reset profiler on test change (#976)
Set wi::profiler::SetEnabled(false) on test change of Samples/Tests build
target so it gets disabled again after enabling it on 65k instance test.
2024-11-05 07:33:14 +01:00
k4ss4n 6e3ed8a8af Update CMakeLists.txt (#975)
corrected minor spelling error

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2024-11-02 07:22:28 +01:00
Turánszki János 94a34c51c1 refactored samples (#942) 2024-09-12 08:49:00 +02:00