Explorar el Código
GetCurrentMonitor() bugfix (#3058)
* GetCurrentMonitor() bugfix
* GetCurrentMonitor() bugfix
pull/3066/head
hamyy
hace 1 año
cometido por
GitHub
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 4AEE18F83AFDEB23
Se han
modificado 1 ficheros con
1 adiciones y
1 borrados
-
src/rcore.c
|
|
@ -1785,7 +1785,7 @@ int GetCurrentMonitor(void) |
|
|
|
monitor = monitors[i]; |
|
|
|
glfwGetMonitorWorkarea(monitor, &mx, &my, &width, &height); |
|
|
|
|
|
|
|
if (x >= mx && x <= (mx + width) && y >= my && y <= (my + height)) |
|
|
|
if (x >= mx && x < (mx + width) && y >= my && y < (my + height)) |
|
|
|
{ |
|
|
|
index = i; |
|
|
|
break; |
|
|
|