mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
fix width/depth mix-up (bug 11577)
This commit is contained in:
parent
e8ccc7cc49
commit
4595389c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -1386,7 +1386,7 @@ texture_error_check( GLcontext *ctx, GLenum target,
|
|||
if (target == GL_PROXY_TEXTURE_1D || target == GL_TEXTURE_1D) {
|
||||
proxy_target = GL_PROXY_TEXTURE_1D;
|
||||
height = 1;
|
||||
width = 1;
|
||||
depth = 1;
|
||||
}
|
||||
else {
|
||||
_mesa_error( ctx, GL_INVALID_ENUM, "glTexImage1D(target)" );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue