mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 06:13:10 +00:00
Update core_window_letterbox.c
This commit is contained in:
parent
79497e1c88
commit
f9af011965
@ -27,12 +27,12 @@
|
|||||||
//------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
const int windowWidth = 800;
|
const int screenWidth = 800;
|
||||||
const int windowHeight = 450;
|
const int screenHeight = 450;
|
||||||
|
|
||||||
// Enable config flags for resizable window and vertical synchro
|
// Enable config flags for resizable window and vertical synchro
|
||||||
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT);
|
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT);
|
||||||
InitWindow(windowWidth, windowHeight, "raylib [core] example - window scale letterbox");
|
InitWindow(screenWidth, screenHeight, "raylib [core] example - window scale letterbox");
|
||||||
SetWindowMinSize(320, 240);
|
SetWindowMinSize(320, 240);
|
||||||
|
|
||||||
int gameScreenWidth = 640;
|
int gameScreenWidth = 640;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user