gallium: Fix typo in function name.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 20 Jul 2008 00:27:48 +0000 (09:27 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 20 Jul 2008 00:27:48 +0000 (09:27 +0900)
src/gallium/auxiliary/util/p_tile.c

index 1daae6b640eeb37ba0758dd2e7441c8d4a0c388f..1bf0d727332befef816b4590ebc6f9b65ee15ffb 100644 (file)
@@ -346,7 +346,7 @@ r5g6b5_get_tile_rgba(ushort *src,
 
 
 static void
-r5g5b5_put_tile_rgba(ushort *dst,
+r5g6b5_put_tile_rgba(ushort *dst,
                      unsigned w, unsigned h,
                      const float *p,
                      unsigned src_stride)
@@ -827,7 +827,7 @@ pipe_put_tile_rgba(struct pipe_surface *ps,
       /*a1r5g5b5_put_tile_rgba((ushort *) packed, w, h, p, src_stride);*/
       break;
    case PIPE_FORMAT_R5G6B5_UNORM:
-      r5g5b5_put_tile_rgba((ushort *) packed, w, h, p, src_stride);
+      r5g6b5_put_tile_rgba((ushort *) packed, w, h, p, src_stride);
       break;
    case PIPE_FORMAT_R8G8B8A8_UNORM:
       assert(0);