diff options
author | Brian Paul <[email protected]> | 1999-09-11 20:13:21 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-09-11 20:13:21 +0000 |
commit | d8ede96148c7a7338786d028410894f98b5c72f0 (patch) | |
tree | 29e2e8603b7f9ccdd089e3073f958245c91dbb6e /src/mesa/drivers/x11/fakeglx.c | |
parent | 6fd3b9682268ee37d5e1150680e63604292206e9 (diff) |
clean-up of glXGetProcAddressEXT()
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 */ }; |