projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b033f3
)
gallium/hud: just unmap the upload vertex buffer instead of recreating it
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 13 Jan 2014 11:59:14 +0000
(12:59 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 23 Jan 2014 00:47:14 +0000
(
01:47
+0100)
src/gallium/auxiliary/hud/hud_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/hud/hud_context.c
b/src/gallium/auxiliary/hud/hud_context.c
index c4a4f18778ae463d007d36cfcccaaa0158d03994..465013cb8f219e11b8398209aea1f16da18fd9ab 100644
(file)
--- a/
src/gallium/auxiliary/hud/hud_context.c
+++ b/
src/gallium/auxiliary/hud/hud_context.c
@@
-479,7
+479,7
@@
hud_draw(struct hud_context *hud, struct pipe_resource *tex)
}
/* unmap the uploader's vertex buffer before drawing */
- u_upload_
flush
(hud->uploader);
+ u_upload_
unmap
(hud->uploader);
/* draw accumulated vertices for background quads */
cso_set_fragment_shader_handle(hud->cso, hud->fs_color);