Some compile fixes.
authorJeremy Kolb <jkolb@freedesktop.org>
Thu, 13 Apr 2006 17:03:51 +0000 (17:03 +0000)
committerJeremy Kolb <jkolb@freedesktop.org>
Thu, 13 Apr 2006 17:03:51 +0000 (17:03 +0000)
src/mesa/drivers/dri/nouveau/nouveau_context.c
src/mesa/drivers/dri/nouveau/nouveau_context.h
src/mesa/drivers/dri/nouveau/nouveau_tris.c
src/mesa/drivers/dri/nouveau/nv10_swtcl.c

index b55e52f..9e025a5 100644 (file)
@@ -55,6 +55,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 int NOUVEAU_DEBUG = 0;
 #endif
 
+#define NOUVEAU_FALLBACK_DISABLE 1
+
 static const struct dri_debug_control debug_control[] =
 {
        { NULL,    0 }
index 49e22f8..83ac2fd 100644 (file)
@@ -113,6 +113,8 @@ typedef struct nouveau_context {
 
        /* Configuration cache */
        driOptionCache optionCache;
+
+        uint32_t vblank_flags;
 }nouveauContextRec, *nouveauContextPtr;
 
 #define NOUVEAU_CONTEXT(ctx)           ((nouveauContextPtr)(ctx->DriverCtx))
index 607c811..3a48393 100644 (file)
@@ -25,6 +25,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 **************************************************************************/
 
 #include "nouveau_context.h"
+#include "nouveau_tris.h"
+#include <swrast.h>
 
 /* Common tri functions */
 
index 0b06187..3eafde3 100644 (file)
@@ -56,6 +56,7 @@ static void nv10RenderPrimitive( GLcontext *ctx, GLenum prim );
 static void nv10RasterPrimitive( GLcontext *ctx, GLenum rprim, GLuint hwprim );
 
 
+
 /***********************************************************************
  *                    Emit primitives as inline vertices               *
  ***********************************************************************/