summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex_fetch.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-12-10 12:06:59 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-12-10 12:06:59 +1100
commit5c1a5b504705214fd5e90b33bb3034e75f6b5994 (patch)
treeac6e3bd4cb94979ad1fce57a3fd01249253ef3ae /src/mesa/pipe/draw/draw_vertex_fetch.c
parent1a3987240a547ba6e625c864f10a033858de4c65 (diff)
parentf8f9580a2a1c89af1dc0e169b62440053d9d7e81 (diff)
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Conflicts: src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c src/mesa/pipe/Makefile src/mesa/pipe/draw/draw_vertex_fetch.c src/mesa/pipe/i915simple/i915_texture.c src/mesa/pipe/softpipe/sp_texture.c src/mesa/pipe/xlib/xm_winsys.c src/mesa/state_tracker/st_cb_fbo.c
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex_fetch.c')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_fetch.c b/src/mesa/pipe/draw/draw_vertex_fetch.c
index e0759c2e9a..7d983ebd29 100644
--- a/src/mesa/pipe/draw/draw_vertex_fetch.c
+++ b/src/mesa/pipe/draw/draw_vertex_fetch.c
@@ -80,6 +80,7 @@ fetch_attrib4(const void *ptr, enum pipe_format format, float attrib[4])
break;
case PIPE_FORMAT_A8R8G8B8_UNORM:
+ case PIPE_FORMAT_R8G8B8A8_UNORM:
attrib[0] = (float) ((unsigned char *) ptr)[2] / 255.0f;
attrib[1] = (float) ((unsigned char *) ptr)[1] / 255.0f;
attrib[2] = (float) ((unsigned char *) ptr)[0] / 255.0f;