Переглянути джерело
GetCurrentMonitor() bugfix (#3058)
* GetCurrentMonitor() bugfix
* GetCurrentMonitor() bugfix
pull/3066/head
hamyy
1 рік тому
committed by
GitHub
Не вдалося знайти GPG ключ що відповідає даному підпису
Ідентифікатор GPG ключа: 4AEE18F83AFDEB23
1 змінених файлів з
1 додано та
1 видалено
-
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; |
|
|
|