Set name as Const and remove not used variable

This commit is contained in:
maiconpintoabreu 2025-10-09 03:18:40 +01:00
parent f0ffdb33f4
commit 37133e9889

View File

@ -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;