From 4d053ddae8cc48dd29a75e67290cd09ed995f5c3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 14 Jan 2000 04:45:47 +0000 Subject: added gl_initialize_context_data(), gl_free_context_data(). code clean-up --- src/mesa/main/context.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/mesa/main/context.h') diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index c31f524fcc..237b318440 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -1,4 +1,4 @@ -/* $Id: context.h,v 1.9 2000/01/05 04:36:17 brianp Exp $ */ +/* $Id: context.h,v 1.10 2000/01/14 04:45:47 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -97,11 +97,17 @@ extern GLcontext *gl_create_context( GLvisual *visual, void *driver_ctx, GLboolean direct); +extern GLboolean gl_initialize_context_data( GLcontext *ctx, + GLvisual *visual, + GLcontext *share_list, + void *driver_ctx, + GLboolean direct ); + +extern void gl_free_context_data( GLcontext *ctx ); + extern void gl_destroy_context( GLcontext *ctx ); -/* Called by the driver after both the context and driver are fully - * initialized. Currently just reads the config file. - */ + extern void gl_context_initialize( GLcontext *ctx ); -- cgit v1.2.3