diff options
author | Brian Paul <[email protected]> | 2011-06-17 13:28:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-06-17 13:44:59 -0600 |
commit | da5c852d636dfeffeb792c78b882c80c91ab6a89 (patch) | |
tree | 3ca2b8edd4e4541fbe30f9ffaa477824dacc35ce /src/mesa | |
parent | 15750d89b9d3592032814faf7dd885c9dd6d686b (diff) |
st/mesa: remove unneeded test for GL_TRUE
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 99f486bba2c..45e47667196 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 |