mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -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();
|
Platform_Init();
|
||||||
|
|
||||||
String str = String_FromConstant("TEST");
|
String str = String_FromConstant("TEST");
|
||||||
Window_Create(320, 320, 320, 320, &str, NULL);
|
Window_Create(320, 320, 640, 480, &str, NULL);
|
||||||
Window_SetVisible(true);
|
Window_SetVisible(true);
|
||||||
Gfx_Init();
|
Gfx_Init();
|
||||||
while (true) {
|
while (true) {
|
||||||
Window_ProcessEvents();
|
Window_ProcessEvents();
|
||||||
Platform_ThreadSleep(100);
|
Platform_ThreadSleep(100);
|
||||||
|
Gfx_BeginFrame();
|
||||||
|
Gfx_EndFrame();
|
||||||
}
|
}
|
||||||
|
Gfx_Free();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
@ -69,7 +69,7 @@ void Window_SetVisible(bool visible);
|
|||||||
/* Gets whether this window has been created and has not been destroyed. */
|
/* Gets whether this window has been created and has not been destroyed. */
|
||||||
bool Window_GetExists(void);
|
bool Window_GetExists(void);
|
||||||
|
|
||||||
/* TODO: IMPLEMENT THIS */
|
/* Gets the handle of this window. */
|
||||||
void* Window_GetWindowHandle(void);
|
void* Window_GetWindowHandle(void);
|
||||||
|
|
||||||
/* Gets the WindowState of this window. */
|
/* Gets the WindowState of this window. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user