diff options
author | Johannes Schickel | 2013-08-19 02:10:43 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-10-19 22:17:42 +0200 |
commit | 20e4a7f0ce86bc93511643e4943b29044c84263f (patch) | |
tree | 4a86e49ff722a3aae4d4dbdea082400efd29db9c /backends/graphics/opengl | |
parent | decc013e53ebf2a7c83e599ed676bfec27ade14f (diff) | |
download | scummvm-rg350-20e4a7f0ce86bc93511643e4943b29044c84263f.tar.gz scummvm-rg350-20e4a7f0ce86bc93511643e4943b29044c84263f.tar.bz2 scummvm-rg350-20e4a7f0ce86bc93511643e4943b29044c84263f.zip |
TIZEN: Adapt to new OpenGL code.
Thanks to Chris Warren-Smith for testing this a bit.
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index d4bd0137ed..67ad5aa067 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -154,6 +154,11 @@ protected: void setMousePosition(int x, int y) { _cursorX = x; _cursorY = y; } /** + * Query the mouse position in physical coordinates. + */ + void getMousePosition(int16 &x, int16 &y) const { x = _cursorX; y = _cursorY; } + + /** * Set up the mouse position for the (event) system. * * @param x X coordinate in physical coordinates. |