diff --git a/src/video/SDL_video_c.h b/src/video/SDL_video_c.h index 3e8a694443..2251ce3053 100644 --- a/src/video/SDL_video_c.h +++ b/src/video/SDL_video_c.h @@ -24,7 +24,7 @@ #include "SDL_internal.h" -typedef struct SDL_VideoDevice SDL_VideoDevice; +struct SDL_VideoDevice; /** * Initialize the video subsystem, optionally specifying a video driver. @@ -57,7 +57,7 @@ extern int SDL_VideoInit(const char *driver_name); */ extern void SDL_VideoQuit(void); -extern int SDL_SetWindowTextureVSync(SDL_VideoDevice *_this, SDL_Window *window, int vsync); +extern int SDL_SetWindowTextureVSync(struct SDL_VideoDevice *_this, SDL_Window *window, int vsync); extern int SDL_ReadSurfacePixel(SDL_Surface *surface, int x, int y, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a);