mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
st/mesa: remove unneeded test for GL_TRUE
This commit is contained in:
parent
15750d89b9
commit
da5c852d63
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue