diff --git a/samples/window/Window.cpp b/samples/window/Window.cpp index 70d4f9d7..4d0db932 100644 --- a/samples/window/Window.cpp +++ b/samples/window/Window.cpp @@ -56,6 +56,9 @@ int main() glViewport(0, 0, event.Size.Width, event.Size.Height); } + // Activate the window + window.SetActive(); + // Clear color and depth buffer glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);