From b42152061c50e870dc2698ea1d860980ce1198b1 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 30 Apr 2007 21:05:10 -0400 Subject: Add macros to generate CreateNewScreen entrypoint. --- src/glx/x11/dri_glx.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/glx/x11/dri_glx.c') diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index d68addaa9f..c02f105611 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; /** -- cgit v1.2.3