diff --git a/client/lg-renderer.h b/client/lg-renderer.h index 95733228..42443589 100644 --- a/client/lg-renderer.h +++ b/client/lg-renderer.h @@ -93,18 +93,18 @@ typedef enum LG_RendererCursor } LG_RendererCursor; -typedef const char * (* LG_RendererGetName )(); -typedef bool (* LG_RendererCreate )(void ** opaque, const LG_RendererParams params); -typedef bool (* LG_RendererInitialize )(void * opaque, Uint32 * sdlFlags); -typedef bool (* LG_RendererConfigure )(void * opaque, SDL_Window *window, const LG_RendererFormat format); -typedef void (* LG_RendererDeConfigure )(void * opaque); -typedef void (* LG_RendererDeInitialize )(void * opaque); -typedef bool (* LG_RendererIsCompatible )(void * opaque, const LG_RendererFormat format); -typedef void (* LG_RendererOnResize )(void * opaque, const int width, const int height, const LG_RendererRect destRect); -typedef bool (* LG_RendererOnMouseShape )(void * opaque, const LG_RendererCursor cursor, const int width, const int height, const int pitch, const uint8_t * data); -typedef bool (* LG_RendererOnMouseEvent )(void * opaque, const bool visible , const int x, const int y); -typedef bool (* LG_RendererOnFrameEvent )(void * opaque, const uint8_t * data); -typedef bool (* LG_RendererRender )(void * opaque); +typedef const char * (* LG_RendererGetName )(); +typedef bool (* LG_RendererCreate )(void ** opaque, const LG_RendererParams params); +typedef bool (* LG_RendererInitialize )(void * opaque, Uint32 * sdlFlags); +typedef bool (* LG_RendererConfigure )(void * opaque, SDL_Window *window, const LG_RendererFormat format); +typedef void (* LG_RendererDeConfigure )(void * opaque); +typedef void (* LG_RendererDeInitialize)(void * opaque); +typedef bool (* LG_RendererIsCompatible)(void * opaque, const LG_RendererFormat format); +typedef void (* LG_RendererOnResize )(void * opaque, const int width, const int height, const LG_RendererRect destRect); +typedef bool (* LG_RendererOnMouseShape)(void * opaque, const LG_RendererCursor cursor, const int width, const int height, const int pitch, const uint8_t * data); +typedef bool (* LG_RendererOnMouseEvent)(void * opaque, const bool visible , const int x, const int y); +typedef bool (* LG_RendererOnFrameEvent)(void * opaque, const uint8_t * data); +typedef bool (* LG_RendererRender )(void * opaque); typedef struct LG_Renderer {