浏览代码

Set name as Const and remove not used variable

pull/5245/head
maiconpintoabreu 1 天前
父节点
当前提交
37133e9889
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      examples/core/core_monitor_change.c

+ 1
- 2
examples/core/core_monitor_change.c 查看文件

@ -22,7 +22,7 @@
// Monitor Details // Monitor Details
typedef struct Monitor { typedef struct Monitor {
Vector2 position; Vector2 position;
char *name;
">const char *name;
int width; int width;
int height; int height;
int physicalWidth; int physicalWidth;
@ -99,7 +99,6 @@ int main(void)
// Get currentMonitorIndex if manually moved // Get currentMonitorIndex if manually moved
currentMonitorIndex = GetCurrentMonitor(); currentMonitorIndex = GetCurrentMonitor();
} }
const Monitor currentMonitor = monitors[currentMonitorIndex];
float monitorScale = 0.6; float monitorScale = 0.6;

正在加载...
取消
保存