OPENGL: Use signed types for mouse coordinates.
This adjusts for the fact that our event handling also uses signed coordinates.
This commit is contained in:
parent
ddc70ed9ee
commit
49dcd36e72
1 changed files with 2 additions and 2 deletions
|
@ -386,12 +386,12 @@ private:
|
|||
/**
|
||||
* X coordinate of the cursor in phyiscal coordinates.
|
||||
*/
|
||||
uint _cursorX;
|
||||
int _cursorX;
|
||||
|
||||
/**
|
||||
* Y coordinate of the cursor in physical coordinates.
|
||||
*/
|
||||
uint _cursorY;
|
||||
int _cursorY;
|
||||
|
||||
/**
|
||||
* The X offset for the cursor hotspot in unscaled coordinates.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue