diff --git a/src/Client/Program.c b/src/Client/Program.c index 452f68548..3f1acee93 100644 --- a/src/Client/Program.c +++ b/src/Client/Program.c @@ -9,12 +9,15 @@ int main(int argc, char* argv[]) { Platform_Init(); String str = String_FromConstant("TEST"); - Window_Create(320, 320, 320, 320, &str, NULL); + Window_Create(320, 320, 640, 480, &str, NULL); Window_SetVisible(true); Gfx_Init(); while (true) { Window_ProcessEvents(); Platform_ThreadSleep(100); + Gfx_BeginFrame(); + Gfx_EndFrame(); } + Gfx_Free(); return 0; } \ No newline at end of file diff --git a/src/Client/Window.h b/src/Client/Window.h index 7f79535c4..7fd888b82 100644 --- a/src/Client/Window.h +++ b/src/Client/Window.h @@ -69,7 +69,7 @@ void Window_SetVisible(bool visible); /* Gets whether this window has been created and has not been destroyed. */ bool Window_GetExists(void); -/* TODO: IMPLEMENT THIS */ +/* Gets the handle of this window. */ void* Window_GetWindowHandle(void); /* Gets the WindowState of this window. */