summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2019-05-21 10:50:42 -0700
committerAaron Plattner <aplattner@nvidia.com>2019-05-21 10:50:42 -0700
commitb4231d69028adc8123801a7552b40a15ea928d1b (patch)
tree1a2a5cae644af370b9f819c19099952ecf8503eb /glx
parent0a07446318f248b65fcbc8ab8a73ead51153f09e (diff)
GLX: Set GlxServerExports::{major,minor}Version
Commit 56c0a71fdd94a008e5d746261f70a713c4767f93 incremented the GLXSERVER_VENDOR_ABI_MINOR_VERSION define, but this define was not actually being used to set glxServer.minorVersion. Update the initializer for glxServer to use the correct version numbers. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/vndext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glx/vndext.c b/glx/vndext.c
index 582e60b6e..0513733b6 100644
--- a/glx/vndext.c
+++ b/glx/vndext.c
@@ -304,8 +304,8 @@ GlxFreeServerImports(GlxServerImports *imports)
}
_X_EXPORT const GlxServerExports glxServer = {
- .majorVersion = 0,
- .minorVersion = 0,
+ .majorVersion = GLXSERVER_VENDOR_ABI_MAJOR_VERSION,
+ .minorVersion = GLXSERVER_VENDOR_ABI_MINOR_VERSION,
.extensionInitCallback = &vndInitCallbackListPtr,