From b1394fa92aaaf859ce9efc8b5fc194397921320c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 26 Sep 2000 20:53:53 +0000 Subject: First batch of OpenGL SI related changes: Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer. --- src/mesa/main/lines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/lines.c') diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c index 991cbd0668..191110e3f8 100644 --- a/src/mesa/main/lines.c +++ b/src/mesa/main/lines.c @@ -1,4 +1,4 @@ -/* $Id: lines.c,v 1.12 2000/07/14 14:04:07 brianp Exp $ */ +/* $Id: lines.c,v 1.13 2000/09/26 20:53:53 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1070,7 +1070,7 @@ _mesa_print_line_function(GLcontext *ctx) */ void gl_set_line_function( GLcontext *ctx ) { - GLboolean rgbmode = ctx->Visual->RGBAflag; + GLboolean rgbmode = ctx->Visual.RGBAflag; /* TODO: antialiased lines */ if (ctx->RenderMode==GL_RENDER) { -- cgit v1.2.3