Переглянути джерело

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

Завантаження…
Відмінити
Зберегти