diff options
author | George Sapountzis <[email protected]> | 2011-11-03 12:46:08 +0200 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2011-11-04 23:33:04 +0200 |
commit | 7192c37294964b3f6e1551469f161593ec8f851d (patch) | |
tree | 89866fb4a584baab61cea882bbb0d4f5520249f5 /src/mesa/drivers/dri/radeon | |
parent | fc9e80fab9dc529cbe67cc718b89b17e18fa41d8 (diff) |
dri: unify __DriverAPIRec
I dropped the comments because they don't add much.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index f53a54727d3..84b0b5a20e3 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -1354,6 +1354,7 @@ __DRIconfig **radeonInitScreen2(__DRIscreen *psp) } const struct __DriverAPIRec driDriverAPI = { + .InitScreen = radeonInitScreen2, .DestroyScreen = radeonDestroyScreen, #if defined(RADEON_R200) .CreateContext = r200CreateContext, @@ -1366,8 +1367,6 @@ const struct __DriverAPIRec driDriverAPI = { .DestroyBuffer = radeonDestroyBuffer, .MakeCurrent = radeonMakeCurrent, .UnbindContext = radeonUnbindContext, - /* DRI2 */ - .InitScreen2 = radeonInitScreen2, }; /* This is the table of extensions that the loader will dlsym() for. */ |