This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Small fix in GetMouseY (
#940
)
pull/945/head
Wayde Reitsma
5 years ago
committed by
Ray
parent
6f2f09947f
commit
2c2ccadd32
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/core.c
+ 1
- 1
src/core.c
View File
@ -2324,7 +2324,7 @@ int GetMouseX(void)
int
GetMouseY
(
void
)
{
#
if defined(PLATFORM_ANDROID)
return
(
int
)
touchPosition
[
0
]
.
x
;
return
(
int
)
touchPosition
[
0
]
.
y
;
#
else
return
(
int
)
(
(
mousePosition
.
y
+
mouseOffset
.
y
)
*
mouseScale
.
y
)
;
#
endif
Write
Preview
Loading…
Cancel
Save