Fixed compile warning, thanks to Michael Pohoreski
authorSam Lantinga <slouken@libsdl.org>
Sat, 16 Nov 2013 10:25:46 -0800
changeset 7996be1526907541
parent 7995 0eed14683885
child 7997 4ad94134d372
Fixed compile warning, thanks to Michael Pohoreski
test/testshader.c
     1.1 --- a/test/testshader.c	Fri Nov 15 22:07:35 2013 -0800
     1.2 +++ b/test/testshader.c	Sat Nov 16 10:25:46 2013 -0800
     1.3 @@ -187,7 +187,7 @@
     1.4      }
     1.5      glUseProgramObjectARB(0);
     1.6  
     1.7 -    return (glGetError() == GL_NO_ERROR);
     1.8 +    return (glGetError() == GL_NO_ERROR) ? SDL_TRUE : SDL_FALSE;
     1.9  }
    1.10  
    1.11  static void DestroyShaderProgram(ShaderData *data)