projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92033a9
)
intel: clear buffer fields in intel_bufferobj_unmap()
author
Brian Paul
<brianp@vmware.com>
Mon, 31 Aug 2009 15:01:21 +0000
(09:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 31 Aug 2009 15:01:44 +0000
(09:01 -0600)
src/mesa/drivers/dri/intel/intel_buffer_objects.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_buffer_objects.c
b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
index 3cf0ea0991d3b12de970577dd060c1324ac5604b..6f7077e17f411fd11d93a4f727a158317bc96825 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_buffer_objects.c
+++ b/
src/mesa/drivers/dri/intel/intel_buffer_objects.c
@@
-418,6
+418,8
@@
intel_bufferobj_unmap(GLcontext * ctx,
}
}
obj->Pointer = NULL;
+ obj->Offset = 0;
+ obj->Length = 0;
return GL_TRUE;
}