From 4aef26e36bc9aba4cd67c158e17f5fb93c9e018c Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 2 Sep 2014 18:56:18 +0200 Subject: mesa git update 2 Sep 2014 mesa commit 5a4e0f3873657d874eb5ff52819f42ea38d54b91 --- mesalib/src/mesa/main/textureview.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesalib/src/mesa/main/textureview.c') 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; -- cgit v1.2.3