From: Emil Velikov <emil.veli...@collabora.com>

Set the major/minor version it's currently implemented, not the one
provided by the GLXSERVER_VENDOR_ABI_{MAJOR,MINOR}_VERSION macros.

Those are identical for now, but can change in the future.

Signed-off-by: Emil Velikov <emil.veli...@collabora.com>
---
Hmm we seems to be missing any checks that enforce the compat. rules
described in glxvndabi.h

We'd want that before we have to bump the version, right?
---
 glx/vndext.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/glx/vndext.c b/glx/vndext.c
index aeefd7519..c8d753234 100644
--- a/glx/vndext.c
+++ b/glx/vndext.c
@@ -277,8 +277,8 @@ GlxFreeServerImports(GlxServerImports *imports)
 }
 
 _X_EXPORT const GlxServerExports glxServer = {
-    .majorVersion = GLXSERVER_VENDOR_ABI_MAJOR_VERSION,
-    .minorVersion = GLXSERVER_VENDOR_ABI_MINOR_VERSION,
+    .majorVersion = 0,
+    .minorVersion = 0,
 
     .extensionInitCallback = &vndInitCallbackList,
 
-- 
2.16.0

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to