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/gallium/state_trackers | |
parent | fc9e80fab9dc529cbe67cc718b89b17e18fa41d8 (diff) |
dri: unify __DriverAPIRec
I dropped the comments because they don't add much.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/dri/drm/dri2.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/sw/drisw.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 357cc4994da..f45a95a67f9 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -701,7 +701,7 @@ dri2_create_buffer(__DRIscreen * sPriv, * DRI versions differ in their implementation of init_screen and swap_buffers. */ const struct __DriverAPIRec driDriverAPI = { - .InitScreen2 = dri2_init_screen, + .InitScreen = dri2_init_screen, .DestroyScreen = dri_destroy_screen, .CreateContext = dri_create_context, .DestroyContext = dri_destroy_context, diff --git a/src/gallium/state_trackers/dri/sw/drisw.c b/src/gallium/state_trackers/dri/sw/drisw.c index 39d7d30a13d..2c650cfd3ae 100644 --- a/src/gallium/state_trackers/dri/sw/drisw.c +++ b/src/gallium/state_trackers/dri/sw/drisw.c @@ -356,10 +356,9 @@ const struct __DriverAPIRec driDriverAPI = { .DestroyContext = dri_destroy_context, .CreateBuffer = drisw_create_buffer, .DestroyBuffer = dri_destroy_buffer, + .SwapBuffers = drisw_swap_buffers, .MakeCurrent = dri_make_current, .UnbindContext = dri_unbind_context, - - .SwapBuffers = drisw_swap_buffers, }; /* This is the table of extensions that the loader will dlsym() for. */ |