Some compile fixes.

This commit is contained in:
Jeremy Kolb 2006-04-13 17:03:51 +00:00
parent 1c0230b396
commit f799745f50
4 changed files with 7 additions and 0 deletions

View 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 }

View 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))

View 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 */

View 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 *
***********************************************************************/