mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 17:38:25 +02:00
radeon: fix 1D textures
This commit is contained in:
parent
674b204ba7
commit
909aeb005f
1 changed files with 2 additions and 1 deletions
|
|
@ -1641,7 +1641,8 @@ static GLboolean r200_validate_texture(GLcontext *ctx, struct gl_texture_object
|
|||
setup_hardware_state(rmesa, t);
|
||||
|
||||
if (texObj->Target == GL_TEXTURE_RECTANGLE_NV ||
|
||||
texObj->Target == GL_TEXTURE_2D)
|
||||
texObj->Target == GL_TEXTURE_2D ||
|
||||
texObj->Target == GL_TEXTURE_1D)
|
||||
set_re_cntl_d3d( ctx, unit, GL_FALSE );
|
||||
else
|
||||
set_re_cntl_d3d( ctx, unit, GL_TRUE );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue