瀏覽代碼

Limiting FPS to 60 for uniformity with other examples.

pull/718/head
Marco Lizza 6 年之前
父節點
當前提交
0c5bee4c9a
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      examples/shaders/shaders_palette_switch.c

+ 1
- 0
examples/shaders/shaders_palette_switch.c 查看文件

@ -88,6 +88,7 @@ int main()
// Initial index not set, will be automatically bounded below. // Initial index not set, will be automatically bounded below.
int currentPalette = -1; int currentPalette = -1;
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//-------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------
// Main game loop // Main game loop

||||||
x
 
000:0
Loading…
取消
儲存