projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Only call brw_upload_tcs/tes_prog when using tessellation.
[mesa.git]
/
src
/
mesa
/
state_tracker
/
st_cb_fbo.c
diff --git
a/src/mesa/state_tracker/st_cb_fbo.c
b/src/mesa/state_tracker/st_cb_fbo.c
index ff703fa41cb015ff10ea80f4fffd4e932f00f5cc..2a2eb0992c82801d6db38db388ccdcd190c6dd6e 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_fbo.c
+++ b/
src/mesa/state_tracker/st_cb_fbo.c
@@
-456,7
+456,7
@@
st_update_renderbuffer_surface(struct st_context *st,
surf_tmpl.u.tex.first_layer = first_layer;
surf_tmpl.u.tex.last_layer = last_layer;
- pipe_surface_re
ference(&strb->surface, NULL
);
+ pipe_surface_re
lease(pipe, &strb->surface
);
strb->surface = pipe->create_surface(pipe, resource, &surf_tmpl);
}