浏览代码

Update core_window_letterbox.c

Ray 2 周之前
父节点
当前提交
f9af011965
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      examples/core/core_window_letterbox.c

+ 3 - 3
examples/core/core_window_letterbox.c

@@ -27,12 +27,12 @@
 //------------------------------------------------------------------------------------
 int main(void)
 {
-    const int windowWidth = 800;
-    const int windowHeight = 450;
+    const int screenWidth = 800;
+    const int screenHeight = 450;
 
     // Enable config flags for resizable window and vertical synchro
     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);
 
     int gameScreenWidth = 640;