test/testshader.c
changeset 7996 be1526907541
parent 7663 53fe1b64eb2d
child 8149 681eb46b8ac4
     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)