From d8ede96148c7a7338786d028410894f98b5c72f0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 11 Sep 1999 20:13:21 +0000 Subject: clean-up of glXGetProcAddressEXT() --- src/mesa/drivers/x11/fakeglx.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 108c5570191..a872f1e620a 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,4 +1,4 @@ -/* $Id: fakeglx.c,v 1.3 1999/09/11 11:35:11 brianp Exp $ */ +/* $Id: fakeglx.c,v 1.4 1999/09/11 20:13:21 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1478,13 +1478,13 @@ GLfunction Fake_glXGetProcAddress( const GLubyte *procName ) { struct proc { const char *name; - void *address; + GLfunction address; }; static struct proc procTable[] = { - { "glXGetProcAddressEXT", glXGetProcAddressEXT }, /* myself! */ - { "glXReleaseBuffersMESA", glXReleaseBuffersMESA }, - { "glXReleaseBuffersMESA", glXReleaseBuffersMESA }, - { "glXCopySubBufferMESA", glXCopySubBufferMESA }, + { "glXGetProcAddressEXT", (GLfunction) glXGetProcAddressEXT }, + { "glXReleaseBuffersMESA", (GLfunction) glXReleaseBuffersMESA }, + { "glXReleaseBuffersMESA", (GLfunction) glXReleaseBuffersMESA }, + { "glXCopySubBufferMESA", (GLfunction) glXCopySubBufferMESA }, /* NOTE: GLX_SGI_video_sync not implemented in Mesa */ { NULL, NULL } /* end of list token */ }; -- cgit v1.2.3