Code cleanup now that SDL_bool is equivalent to a C boolean expression
This commit is contained in:
1 parent
a76d8e39aa
commit
f3261fedcc
53 files changed
+133
-138
No files matched your search
+1
-1
@@ -222,7 +222,7 @@ static SDL_bool CompileShaderProgram(ShaderData *data)
|
||||
}
|
||||
glUseProgramObjectARB(0);
|
||||
|
||||
return (glGetError() == GL_NO_ERROR) ? SDL_TRUE : SDL_FALSE;
|
||||
return (glGetError() == GL_NO_ERROR);
|
||||
}
|
||||
|
||||
static void DestroyShaderProgram(ShaderData *data)
|
||||
|
||||
Reference in new issue
Block a user