Fixed a whole slew of compiler warnings that -Wall exposed.

This commit is contained in:
Ryan C. Gordon 2011-10-13 01:08:30 -04:00
parent cf1adee2e4
commit bc13816375
17 changed files with 42 additions and 68 deletions

View file

@ -348,8 +348,6 @@ GL_CreateRenderer(SDL_Window * window, Uint32 flags)
static void
GL_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)
{
GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
/* Rebind the context to the window area and update matrices */
SDL_CurrentContext = NULL;