diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-31 09:01:21 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-31 09:01:44 -0600 |
commit | 28c159d61461dab0963860725b77fc56566838fa (patch) | |
tree | 53460b3755419111b3fe94e1025725551a767335 | |
parent | 92033a9516942d7272ce4bf36ecd422009bbaf60 (diff) |
intel: clear buffer fields in intel_bufferobj_unmap()
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_buffer_objects.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c b/src/mesa/drivers/dri/intel/intel_buffer_objects.c index 3cf0ea0991..6f7077e17f 100644 --- 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; } |