projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'origin/opengl-es-v2'
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_context.c
diff --git
a/src/mesa/state_tracker/st_context.c
b/src/mesa/state_tracker/st_context.c
index 145bd62b83e737de71f8feda5d9cf1781be39aaf..9e6ce30db047031ca190a230f50615c7953e1436 100644
(file)
--- a/
src/mesa/state_tracker/st_context.c
+++ b/
src/mesa/state_tracker/st_context.c
@@
-218,8
+218,8
@@
static void st_destroy_context_priv( struct st_context *st )
}
for (i = 0; i < Elements(st->state.constants); i++) {
- if (st->state.constants[i]
.buffer
) {
- pipe_buffer_reference(&st->state.constants[i]
.buffer
, NULL);
+ if (st->state.constants[i]) {
+ pipe_buffer_reference(&st->state.constants[i], NULL);
}
}