osmesa: Fix Mingw build.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 23 Apr 2011 11:23:42 +0000 (12:23 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 23 Apr 2011 11:23:42 +0000 (12:23 +0100)
Build as

  scons platform=windows osmesa

src/mesa/drivers/osmesa/osmesa.c

index 98f01fe057ea20385166c764451ed76237411002..68d711446428b76f0da5554f60ea48c3535ffd25 100644 (file)
@@ -515,11 +515,7 @@ do {                                                               \
    PACK_RGBA(p, color[0], color[1], color[2], color[3]);       \
 } while (0)
 
-#ifdef WIN32
-#include "..\swrast\s_linetemp.h"
-#else
 #include "swrast/s_linetemp.h"
-#endif
 
 
 
@@ -544,11 +540,7 @@ do {                                                       \
    }                                                   \
 } while (0)
 
-#ifdef WIN32
-#include "..\swrast\s_linetemp.h"
-#else
 #include "swrast/s_linetemp.h"
-#endif
 
 
 
@@ -624,11 +616,7 @@ osmesa_choose_line_function( struct gl_context *ctx )
       span.z += span.zStep;                                    \
    }                                                            \
 }
-#ifdef WIN32
-#include "..\swrast\s_tritemp.h"
-#else
 #include "swrast/s_tritemp.h"
-#endif
 
 
 
@@ -656,11 +644,8 @@ osmesa_choose_line_function( struct gl_context *ctx )
       span.z += span.zStep;                            \
    }                                                    \
 }
-#ifdef WIN32
-#include "..\swrast\s_tritemp.h"
-#else
+
 #include "swrast/s_tritemp.h"
-#endif