glx: use C99 initializers for GlxServerExports
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
7fc7579869
commit
edc00e0203
32
glx/vndext.c
32
glx/vndext.c
|
@ -277,26 +277,26 @@ GlxFreeServerImports(GlxServerImports *imports)
|
|||
}
|
||||
|
||||
_X_EXPORT const GlxServerExports glxServer = {
|
||||
GLXSERVER_VENDOR_ABI_MAJOR_VERSION, // majorVersion
|
||||
GLXSERVER_VENDOR_ABI_MINOR_VERSION, // minorVersion
|
||||
.majorVersion = GLXSERVER_VENDOR_ABI_MAJOR_VERSION,
|
||||
.minorVersion = GLXSERVER_VENDOR_ABI_MINOR_VERSION,
|
||||
|
||||
&vndInitCallbackList,
|
||||
.extensionInitCallback = &vndInitCallbackList,
|
||||
|
||||
GlxAllocateServerImports, // allocateServerImports
|
||||
GlxFreeServerImports, // freeServerImports
|
||||
.allocateServerImports = GlxAllocateServerImports,
|
||||
.freeServerImports = GlxFreeServerImports,
|
||||
|
||||
GlxCreateVendor, // createVendor
|
||||
GlxDestroyVendor, // destroyVendor
|
||||
GlxSetScreenVendor, // setScreenVendor
|
||||
.createVendor = GlxCreateVendor,
|
||||
.destroyVendor = GlxDestroyVendor,
|
||||
.setScreenVendor = GlxSetScreenVendor,
|
||||
|
||||
GlxAddXIDMap, // addXIDMap
|
||||
GlxGetXIDMap, // getXIDMap
|
||||
GlxRemoveXIDMap, // removeXIDMap
|
||||
GlxGetContextTag, // getContextTag
|
||||
GlxSetContextTagPrivate, // setContextTagPrivate
|
||||
GlxGetContextTagPrivate, // getContextTagPrivate
|
||||
GlxGetVendorForScreen, // getVendorForScreen
|
||||
GlxForwardRequest, // forwardRequest
|
||||
.addXIDMap = GlxAddXIDMap,
|
||||
.getXIDMap = GlxGetXIDMap,
|
||||
.removeXIDMap = GlxRemoveXIDMap,
|
||||
.getContextTag = GlxGetContextTag,
|
||||
.setContextTagPrivate = GlxSetContextTagPrivate,
|
||||
.getContextTagPrivate = GlxGetContextTagPrivate,
|
||||
.getVendorForScreen = GlxGetVendorForScreen,
|
||||
.forwardRequest = GlxForwardRequest,
|
||||
};
|
||||
|
||||
const GlxServerExports *
|
||||
|
|
Loading…
Reference in New Issue
Block a user