summaryrefslogtreecommitdiff
path: root/src/glx/x11/glxclient.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-07-24 07:38:23 +0000
committerIan Romanick <idr@us.ibm.com>2005-07-24 07:38:23 +0000
commite9dbe58b8b541d0abb9be9e1000a63776abe678c (patch)
treeb7b0c2fafc865f7460f1f1ba62e065fb5a9d55c7 /src/glx/x11/glxclient.h
parentc39bf5e273a4995a279ae2af59fc29e06ab47e29 (diff)
Gut a few more dead bits. Replace uses of the CreateNewScreenFunc typedef
(from glxclient.h) with PFNCREATENEWSCREEN (from dri_interface.h). Remove the prototype for __driCreateScreen and fix the prototype for __driCreateNewScreen (append the API version) in dri_interface.h.
Diffstat (limited to 'src/glx/x11/glxclient.h')
-rw-r--r--src/glx/x11/glxclient.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h
index b8241b8cf2..6852fd066a 100644
--- a/src/glx/x11/glxclient.h
+++ b/src/glx/x11/glxclient.h
@@ -84,15 +84,6 @@ typedef struct _glapi_table __GLapi;
#include <GL/internal/dri_interface.h>
-typedef void *(*CreateScreenFunc)(Display *dpy, int scrn, __DRIscreen *psc,
- int numConfigs, __GLXvisualConfig *config);
-
-typedef void *(*CreateNewScreenFunc)(Display *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);
-
/**
* Display dependent methods. This structure is initialized during the
@@ -114,7 +105,7 @@ struct __DRIdisplayRec {
* Array of pointers to methods to create and initialize the private DRI
* screen data.
*/
- CreateNewScreenFunc * createNewScreen;
+ PFNCREATENEWSCREENFUNC * createNewScreen;
};
@@ -124,7 +115,7 @@ struct __DRIdisplayRec {
struct __DRIdriverRec {
const char *name;
void *handle;
- CreateNewScreenFunc createNewScreenFunc;
+ PFNCREATENEWSCREENFUNC createNewScreenFunc;
struct __DRIdriverRec *next;
};