Skip to content

Commit 9ba0cdb

Browse files
authored
Fix GetCurrentMonitor comments. (#4812)
1 parent f1385f3 commit 9ba0cdb

7 files changed

+7
-7
lines changed

src/platforms/rcore_android.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ int GetMonitorCount(void)
431431
return 1;
432432
}
433433

434-
// Get number of monitors
434+
// Get current monitor where window is placed
435435
int GetCurrentMonitor(void)
436436
{
437437
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

src/platforms/rcore_desktop_glfw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ int GetMonitorCount(void)
736736
return monitorCount;
737737
}
738738

739-
// Get number of monitors
739+
// Get current monitor where window is placed
740740
int GetCurrentMonitor(void)
741741
{
742742
int index = 0;

src/platforms/rcore_desktop_rgfw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ int GetMonitorCount(void)
651651
return count;
652652
}
653653

654-
// Get number of monitors
654+
// Get current monitor where window is placed
655655
int GetCurrentMonitor(void)
656656
{
657657
RGFW_monitor *mons = RGFW_getMonitors();

src/platforms/rcore_desktop_sdl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ int GetMonitorCount(void)
914914
return monitorCount;
915915
}
916916

917-
// Get number of monitors
917+
// Get current monitor where window is placed
918918
int GetCurrentMonitor(void)
919919
{
920920
int currentMonitor = 0;

src/platforms/rcore_drm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ int GetMonitorCount(void)
371371
return 1;
372372
}
373373

374-
// Get number of monitors
374+
// Get current monitor where window is placed
375375
int GetCurrentMonitor(void)
376376
{
377377
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

src/platforms/rcore_template.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ int GetMonitorCount(void)
208208
return 1;
209209
}
210210

211-
// Get number of monitors
211+
// Get current monitor where window is placed
212212
int GetCurrentMonitor(void)
213213
{
214214
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

src/platforms/rcore_web.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ int GetMonitorCount(void)
709709
return 1;
710710
}
711711

712-
// Get number of monitors
712+
// Get current monitor where window is placed
713713
int GetCurrentMonitor(void)
714714
{
715715
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

0 commit comments

Comments
 (0)