Update window creation in TestEditor to support resizable windows
- Modified the CreateWindow function call to include the SDL_WINDOW_RESIZABLE flag, allowing for dynamic window resizing during integration tests.
This commit is contained in:
@@ -46,7 +46,7 @@ void TestEditor::RegisterTests(ImGuiTestEngine* engine) {
|
|||||||
int RunIntegrationTest() {
|
int RunIntegrationTest() {
|
||||||
yaze::core::Controller controller;
|
yaze::core::Controller controller;
|
||||||
yaze::core::Window window;
|
yaze::core::Window window;
|
||||||
yaze::core::CreateWindow(&window);
|
yaze::core::CreateWindow(window, SDL_WINDOW_RESIZABLE);
|
||||||
IMGUI_CHECKVERSION();
|
IMGUI_CHECKVERSION();
|
||||||
ImGui::CreateContext();
|
ImGui::CreateContext();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user