xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 22 20:44:55 UTC 2019


 glx/vndext.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b4231d69028adc8123801a7552b40a15ea928d1b
Author: Aaron Plattner <aplattner at nvidia.com>
Date:   Tue May 21 10:50:42 2019 -0700

    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 at nvidia.com>

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,
 


More information about the xorg-commit mailing list