projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40492be
)
i965: Silence unused variable warning.
author
Matt Turner
<mattst88@gmail.com>
Thu, 23 Oct 2014 22:45:35 +0000
(15:45 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 23 Oct 2014 23:20:07 +0000
(16:20 -0700)
src/mesa/drivers/dri/i965/intel_buffer_objects.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_buffer_objects.c
b/src/mesa/drivers/dri/i965/intel_buffer_objects.c
index b4eb0765a101c80d49b8e168ebb11dd48b2e2208..a7242b0ee6402f6542c05ba71a43c6c6c0af2456 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_buffer_objects.c
+++ b/
src/mesa/drivers/dri/i965/intel_buffer_objects.c
@@
-476,9
+476,8
@@
intel_bufferobj_flush_mapped_range(struct gl_context *ctx,
{
struct brw_context *brw = brw_context(ctx);
struct intel_buffer_object *intel_obj = intel_buffer_object(obj);
- GLbitfield access = obj->Mappings[index].AccessFlags;
- assert(
acces
s & GL_MAP_FLUSH_EXPLICIT_BIT);
+ assert(
obj->Mappings[index].AccessFlag
s & GL_MAP_FLUSH_EXPLICIT_BIT);
/* If we gave a direct mapping of the buffer instead of using a temporary,
* then there's nothing to do.