projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15750d8
)
st/mesa: remove unneeded test for GL_TRUE
author
Brian Paul
<brianp@vmware.com>
Fri, 17 Jun 2011 19:28:38 +0000
(13:28 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Jun 2011 19:44:59 +0000
(13:44 -0600)
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 99f486bba2c3d1b81a66796cdac8695676c3863d..45e4766719678dd0c5f2bc953b171ea5767769bd 100644
(file)
--- 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