summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-07-22 06:49:46 +0000
committerEric Anholt <anholt@freebsd.org>2004-07-22 06:49:46 +0000
commit19d9bf1b083dc6717dde51952a10a77c85515b38 (patch)
treed894cde01e30e1067735705f872aa76678741496
parentbe488358cb2ffeeb86e9fa458d9955191222ef75 (diff)
-rw-r--r--dri_interface.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/dri_interface.h b/dri_interface.h
index 079ff10..ced714d 100644
--- a/dri_interface.h
+++ b/dri_interface.h
@@ -165,11 +165,14 @@ extern GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay *dpy, int screen,
*/
/*@{*/
-extern void * __driCreateNewScreen( __DRInativeDisplay *dpy, int scrn, __DRIscreen *psc,
- const __GLcontextModes * modes, const __DRIversion * ddx_version,
- const __DRIversion * dri_version, const __DRIversion * drm_version,
- const __DRIframebuffer * frame_buffer, drmAddress pSAREA, int fd,
- int internal_api_version, __GLcontextModes ** driver_modes );
+typedef void *(CREATENEWSCREENFUNC)(__DRInativeDisplay *dpy, int scrn,
+ __DRIscreen *psc, const __GLcontextModes * modes,
+ const __DRIversion * ddx_version, const __DRIversion * dri_version,
+ const __DRIversion * drm_version, const __DRIframebuffer * frame_buffer,
+ void * pSAREA, int fd, int internal_api_version,
+ __GLcontextModes ** driver_modes);
+typedef CREATENEWSCREENFUNC* PFNCREATENEWSCREENFUNC;
+extern CREATENEWSCREENFUNC __driCreateNewScreen;
#ifndef DRI_NEW_INTERFACE_ONLY