aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-08 11:23:54 +0100
committermarha <marha@users.sourceforge.net>2012-03-08 11:23:54 +0100
commitb4e09d9f9c2cb930daef6b578e3051e71425ed7f (patch)
tree2f7978bbc080eacca775af19715931ae34c23836 /mesalib/src/mesa/main/fbobject.c
parent50ace52bb8308fd62b8bad9ae912dc18c4ae32ff (diff)
downloadvcxsrv-b4e09d9f9c2cb930daef6b578e3051e71425ed7f.tar.gz
vcxsrv-b4e09d9f9c2cb930daef6b578e3051e71425ed7f.tar.bz2
vcxsrv-b4e09d9f9c2cb930daef6b578e3051e71425ed7f.zip
fontconfig libXau libXdmcp libXext libXft libXinerama libXmu pixman mesa
git update 8 Mar 2012
Diffstat (limited to 'mesalib/src/mesa/main/fbobject.c')
-rw-r--r--mesalib/src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/fbobject.c b/mesalib/src/mesa/main/fbobject.c
index 6ee062d0b..281b1ca2f 100644
--- a/mesalib/src/mesa/main/fbobject.c
+++ b/mesalib/src/mesa/main/fbobject.c
@@ -1994,7 +1994,7 @@ framebuffer_texture(struct gl_context *ctx, const char *caller, GLenum target,
}
if ((level < 0) ||
- (level >= _mesa_max_texture_levels(ctx, texObj->Target))) {
+ (level >= _mesa_max_texture_levels(ctx, textarget))) {
_mesa_error(ctx, GL_INVALID_VALUE,
"glFramebufferTexture%sEXT(level)", caller);
return;