projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Move _mesa_all_buffers_are_unmapped to arrayobj.c.
[mesa.git]
/
src
/
mesa
/
main
/
objectlabel.c
diff --git
a/src/mesa/main/objectlabel.c
b/src/mesa/main/objectlabel.c
index 974abbcc6f507c47c3c62f856b702e3ae544d5e4..1e3022ee547a482c8a2bb551f50d50b74c5d6da5 100644
(file)
--- a/
src/mesa/main/objectlabel.c
+++ b/
src/mesa/main/objectlabel.c
@@
-196,7
+196,7
@@
get_label_pointer(struct gl_context *ctx, GLenum identifier, GLuint name,
case GL_TEXTURE:
{
struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, name);
- if (texObj)
+ if (texObj
&& texObj->Target
)
labelPtr = &texObj->Label;
}
break;