draw: Fix compiler errors on Windows.
authorMichal Krol <michal@tungstengraphics.com>
Mon, 6 Oct 2008 11:23:56 +0000 (13:23 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Mon, 6 Oct 2008 11:23:56 +0000 (13:23 +0200)
src/gallium/auxiliary/draw/draw_vertex.h

index dca6158128823b0095fe14178e02cef6cbc23448..a943607d7ede7ea69efea7d9bdae5f9714b08378 100644 (file)
@@ -87,14 +87,14 @@ struct vertex_info
    } attrib[PIPE_MAX_SHADER_INPUTS];
 };
 
-static inline int
+static INLINE int
 draw_vinfo_size( const struct vertex_info *a )
 {
    return ((const char *)&a->attrib[a->num_attribs] -
            (const char *)a);
 }
 
-static inline int
+static INLINE int
 draw_vinfo_compare( const struct vertex_info *a,
                     const struct vertex_info *b )
 {
@@ -102,7 +102,7 @@ draw_vinfo_compare( const struct vertex_info *a,
    return memcmp( a, b, sizea );
 }
 
-static inline void
+static INLINE void
 draw_vinfo_copy( struct vertex_info *dst,
                  const struct vertex_info *src )
 {