From: Brian Paul Date: Fri, 17 Jun 2011 19:28:38 +0000 (-0600) Subject: st/mesa: remove unneeded test for GL_TRUE X-Git-Tag: 062012170305~5318 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da5c852d636dfeffeb792c78b882c80c91ab6a89;p=profile%2Fivi%2Fmesa.git st/mesa: remove unneeded test for GL_TRUE --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 99f486b..45e4766 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -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