diff options
author | Keith Whitwell <[email protected]> | 2001-01-08 04:09:41 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-01-08 04:09:41 +0000 |
commit | b980b2eeb62dc48101a7481d02d196c80b9da397 (patch) | |
tree | 2b9bf4b63b99a6df4e96123181da0a624289ad92 /src/mesa/main/context.c | |
parent | 44d8de433e684cb4c2bc4dfc5cc6919af1f3cc55 (diff) |
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.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 8624cb62e79..4b951c89f71 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; |