diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-22 01:05:40 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-22 01:05:40 +0000 |
commit | df81387dfae199a71bc55138ea5856dc05eacf24 (patch) | |
tree | 855c4f50a701c32bc22a9f47f55183c944201cf4 /src/mesa/drivers/osmesa | |
parent | 178a1c5a25b84bab1d5aae9e14694b531feea3ca (diff) |
call _mesa_initialize_context()
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 9a7ef250a3..2edbb027d6 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -1,4 +1,4 @@ -/* $Id: osmesa.c,v 1.15 2000/04/04 15:14:10 brianp Exp $ */ +/* $Id: osmesa.c,v 1.16 2000/04/22 01:05:40 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -216,12 +216,12 @@ OSMesaCreateContext( GLenum format, OSMesaContext sharelist ) return NULL; } - if (!gl_initialize_context_data(&osmesa->gl_ctx, - osmesa->gl_visual, - sharelist ? &sharelist->gl_ctx - : (GLcontext *) NULL, - (void *) osmesa, GL_TRUE )) { - gl_destroy_visual( osmesa->gl_visual ); + if (!_mesa_initialize_context(&osmesa->gl_ctx, + osmesa->gl_visual, + sharelist ? &sharelist->gl_ctx + : (GLcontext *) NULL, + (void *) osmesa, GL_TRUE )) { + _mesa_destroy_visual( osmesa->gl_visual ); FREE(osmesa); return NULL; } |