Browse Source

Fix GetCurrentMonitor comments. (#4812)

Kaluub 6 tháng trước cách đây
mục cha
commit
9ba0cdbe6d

+ 1 - 1
src/platforms/rcore_android.c

@@ -431,7 +431,7 @@ int GetMonitorCount(void)
     return 1;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

+ 1 - 1
src/platforms/rcore_desktop_glfw.c

@@ -736,7 +736,7 @@ int GetMonitorCount(void)
     return monitorCount;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     int index = 0;

+ 1 - 1
src/platforms/rcore_desktop_rgfw.c

@@ -651,7 +651,7 @@ int GetMonitorCount(void)
     return count;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     RGFW_monitor *mons = RGFW_getMonitors();

+ 1 - 1
src/platforms/rcore_desktop_sdl.c

@@ -914,7 +914,7 @@ int GetMonitorCount(void)
     return monitorCount;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     int currentMonitor = 0;

+ 1 - 1
src/platforms/rcore_drm.c

@@ -371,7 +371,7 @@ int GetMonitorCount(void)
     return 1;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

+ 1 - 1
src/platforms/rcore_template.c

@@ -208,7 +208,7 @@ int GetMonitorCount(void)
     return 1;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");

+ 1 - 1
src/platforms/rcore_web.c

@@ -709,7 +709,7 @@ int GetMonitorCount(void)
     return 1;
 }
 
-// Get number of monitors
+// Get current monitor where window is placed
 int GetCurrentMonitor(void)
 {
     TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");