diff options
author | marha <marha@users.sourceforge.net> | 2011-05-29 15:02:10 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-29 15:02:10 +0200 |
commit | 1ccf18dc09e288ddf937aa890b50c8d0a9df4319 (patch) | |
tree | a08f093a56109dd213582d26534b7ead87e86695 /mesalib/src/mesa/main/teximage.c | |
parent | 741ef6e15af761d44ca0d8d54f6b99c33dd1b6bd (diff) | |
download | vcxsrv-1ccf18dc09e288ddf937aa890b50c8d0a9df4319.tar.gz vcxsrv-1ccf18dc09e288ddf937aa890b50c8d0a9df4319.tar.bz2 vcxsrv-1ccf18dc09e288ddf937aa890b50c8d0a9df4319.zip |
libX11 mesa mkfontscale pixman xserver git update 29 Mar 2011
Diffstat (limited to 'mesalib/src/mesa/main/teximage.c')
-rw-r--r-- | mesalib/src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/teximage.c b/mesalib/src/mesa/main/teximage.c index 8fb54c693..4ea9a483c 100644 --- a/mesalib/src/mesa/main/teximage.c +++ b/mesalib/src/mesa/main/teximage.c @@ -2693,7 +2693,7 @@ texsubimage(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, format, type, texImage)) { /* error was recorded */ } - else if (width > 0 && height > 0 && height > 0) { + else if (width > 0 && height > 0 && depth > 0) { /* If we have a border, offset=-1 is legal. Bias by border width. */ switch (dims) { case 3: |