mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-23 04:34:58 -04:00
Test C window should be 640x480 not 320x320
This commit is contained in:
parent
61f22c1fb3
commit
e84cd9ebe3
@ -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;
|
||||
}
|
||||
@ -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. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user