aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2007-04-30 21:05:10 -0400
committerKristian Høgsberg <[email protected]>2007-10-05 00:12:30 -0400
commitb42152061c50e870dc2698ea1d860980ce1198b1 (patch)
treebe53cd028adb31dbf6a054f9f02971b7e4e4240f /src
parent4a22ae8d446855d839cc199df8eb1b057045cb88 (diff)
Add macros to generate CreateNewScreen entrypoint.
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/dri_glx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index d68addaa9f4..c02f105611c 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -167,11 +167,8 @@ ExtractDir(int index, const char *paths, int dirLen, char *dir)
* The version of the last incompatible loader/driver inteface change is
* appended to the name of the \c __driCreateNewScreen function. This
* prevents loaders from trying to load drivers that are too old.
- *
- * \todo
- * Create a macro or something so that this is automatically updated.
*/
-static const char createNewScreenName[] = "__driCreateNewScreen_20070105";
+static const char createNewScreenName[] = __DRI_CREATE_NEW_SCREEN_STRING;
/**