st/mesa: remove unneeded test for GL_TRUE
authorBrian Paul <brianp@vmware.com>
Fri, 17 Jun 2011 19:28:38 +0000 (13:28 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Jun 2011 19:44:59 +0000 (13:44 -0600)
src/mesa/state_tracker/st_format.c

index 99f486b..45e4766 100644 (file)
@@ -1203,7 +1203,7 @@ st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
     * that in advance.  Specify potential render target flags now.
     */
    bindings = PIPE_BIND_SAMPLER_VIEW;
-   if (renderable == GL_TRUE) {
+   if (renderable) {
       if (_mesa_is_depth_or_stencil_format(internalFormat))
         bindings |= PIPE_BIND_DEPTH_STENCIL;
       else