diff options
author | marha <marha@users.sourceforge.net> | 2014-09-02 18:56:18 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-09-02 18:56:52 +0200 |
commit | 4aef26e36bc9aba4cd67c158e17f5fb93c9e018c (patch) | |
tree | ff68065bef6269e38b41e6e3e57edbcf858d3efb /mesalib/src/mesa/main/textureview.c | |
parent | 04168ae281bfbd714ddf6b90d98eac892508dde8 (diff) | |
download | vcxsrv-4aef26e36bc9aba4cd67c158e17f5fb93c9e018c.tar.gz vcxsrv-4aef26e36bc9aba4cd67c158e17f5fb93c9e018c.tar.bz2 vcxsrv-4aef26e36bc9aba4cd67c158e17f5fb93c9e018c.zip |
mesa git update 2 Sep 2014
mesa commit 5a4e0f3873657d874eb5ff52819f42ea38d54b91
Diffstat (limited to 'mesalib/src/mesa/main/textureview.c')
-rw-r--r-- | mesalib/src/mesa/main/textureview.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/textureview.c b/mesalib/src/mesa/main/textureview.c index b3521e219..6e86a9a44 100644 --- a/mesalib/src/mesa/main/textureview.c +++ b/mesalib/src/mesa/main/textureview.c @@ -536,6 +536,9 @@ _mesa_TextureView(GLuint texture, GLenum target, GLuint origtexture, /* Adjust width, height, depth to be appropriate for new target */ switch (target) { case GL_TEXTURE_1D: + height = 1; + break; + case GL_TEXTURE_3D: break; |