summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/hud
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2014-02-03 03:42:17 +0100
committerMarek Olšák <marek.olsak@amd.com>2014-02-06 17:37:34 +0100
commitc32114460dbb7f33885c181a0d7dee07b15b8751 (patch)
treefd6d0a17ed48e93e42d61138d0bef80d8577f0a8 /src/gallium/auxiliary/hud
parenteeb5a4a50e1317a7f8d9e168c962ce3b1d7b36f9 (diff)
downloadexternal_mesa3d-c32114460dbb7f33885c181a0d7dee07b15b8751.zip
external_mesa3d-c32114460dbb7f33885c181a0d7dee07b15b8751.tar.gz
external_mesa3d-c32114460dbb7f33885c181a0d7dee07b15b8751.tar.bz2
gallium: remove PIPE_USAGE_STATIC
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/hud')
-rw-r--r--src/gallium/auxiliary/hud/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/font.c b/src/gallium/auxiliary/hud/font.c
index 6747874..03e35d9 100644
--- a/src/gallium/auxiliary/hud/font.c
+++ b/src/gallium/auxiliary/hud/font.c
@@ -401,7 +401,7 @@ util_font_create_fixed_8x13(struct pipe_context *pipe,
tex_templ.height0 = 256;
tex_templ.depth0 = 1;
tex_templ.array_size = 1;
- tex_templ.usage = PIPE_USAGE_STATIC;
+ tex_templ.usage = PIPE_USAGE_DEFAULT;
tex_templ.bind = PIPE_BIND_SAMPLER_VIEW;
tex = screen->resource_create(screen, &tex_templ);