From b980b2eeb62dc48101a7481d02d196c80b9da397 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 8 Jan 2001 04:09:41 +0000 Subject: Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86. --- src/mesa/main/context.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/context.c') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 8624cb62e7..4b951c89f7 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.115 2001/01/05 05:31:42 keithw Exp $ */ +/* $Id: context.c,v 1.116 2001/01/08 04:09:41 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -131,7 +131,8 @@ __glCoreCreateContext(__GLimports *imports, __GLcontextModes *modes) modes->accumAlphaBits, 0); - _mesa_initialize_context(ctx, &ctx->Visual, NULL, imports->wscx, GL_FALSE); + /* KW: was imports->wscx */ + _mesa_initialize_context(ctx, &ctx->Visual, NULL, imports->other, GL_FALSE); ctx->exports.destroyContext = _mesa_DestroyContext; -- cgit v1.2.3