[common/client] add pitch to cursor shape structure

This commit is contained in:
Geoffrey McRae
2017-12-13 04:42:09 +11:00
parent c36e948bdb
commit b5a5d4cda2
3 changed files with 4 additions and 2 deletions

View File

@@ -276,7 +276,7 @@ void lgr_opengl_on_resize(void * opaque, const int width, const int height, cons
this->resizeWindow = true;
}
bool lgr_opengl_on_mouse_shape(void * opaque, const LG_RendererCursor cursor, const int width, const int height, const uint8_t * data)
bool lgr_opengl_on_mouse_shape(void * opaque, const LG_RendererCursor cursor, const int width, const int height, const int pitch, const uint8_t * data)
{
struct LGR_OpenGL * this = (struct LGR_OpenGL *)opaque;
if (!this || !this->initialized)