diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-04-30 16:50:17 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-04-30 16:51:53 -0600 |
commit | 54f94a790e4488445347abcff9a636a9c440d7f9 (patch) | |
tree | 6f64698c8922d1c79117b769a6f553d5b5a24058 /src/mesa/state_tracker/st_cb_bitmap.c | |
parent | 8d45576ec5110d39fe48c2f65b04db16ce845968 (diff) | |
download | external_mesa3d-54f94a790e4488445347abcff9a636a9c440d7f9.zip external_mesa3d-54f94a790e4488445347abcff9a636a9c440d7f9.tar.gz external_mesa3d-54f94a790e4488445347abcff9a636a9c440d7f9.tar.bz2 |
gallium: use the newer PIPE_FORMAT_x_UNORM format names
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index f0a3b75..ce8fefe 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -722,8 +722,8 @@ st_init_bitmap(struct st_context *st) st->bitmap.rasterizer.bypass_vs = 1; /* find a usable texture format */ - if (screen->is_format_supported(screen, PIPE_FORMAT_U_I8, PIPE_TEXTURE)) { - st->bitmap.tex_format = PIPE_FORMAT_U_I8; + if (screen->is_format_supported(screen, PIPE_FORMAT_I8_UNORM, PIPE_TEXTURE)) { + st->bitmap.tex_format = PIPE_FORMAT_I8_UNORM; } else { /* XXX support more formats */ |