瀏覽代碼

Code tweak

Solves issue with C++
Ray 7 年之前
父節點
當前提交
0d16721b4d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -450,7 +450,7 @@ typedef enum GuiControlState {
 //----------------------------------------------------------------------------------
 // Global Variables Definition
 //----------------------------------------------------------------------------------
-static int guiState = NORMAL;
+static GuiControlState guiState = NORMAL;
 static float guiAlpha = 1.0f;
 
 // Current GUI style (light or dark)