Mesa (gallium-0.1): draw: Fix compiler errors on Windows.

Michał Król michal at kemper.freedesktop.org
Mon Oct 6 11:24:18 UTC 2008


Module: Mesa
Branch: gallium-0.1
Commit: 9b827018133868e84ddc0998a5b5387584c7478c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b827018133868e84ddc0998a5b5387584c7478c

Author: Michal Krol <michal at tungstengraphics.com>
Date:   Mon Oct  6 13:23:56 2008 +0200

draw: Fix compiler errors on Windows.

---

 src/gallium/auxiliary/draw/draw_vertex.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_vertex.h b/src/gallium/auxiliary/draw/draw_vertex.h
index dca6158..a943607 100644
--- a/src/gallium/auxiliary/draw/draw_vertex.h
+++ b/src/gallium/auxiliary/draw/draw_vertex.h
@@ -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 )
 {




More information about the mesa-commit mailing list