misc: Use XGL_API_VERSION instead of hard coded value
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Tue, 24 Feb 2015 00:40:15 +0000 (17:40 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Tue, 24 Feb 2015 00:54:24 +0000 (17:54 -0700)
demos/cube.c
demos/xglinfo.c

index 79aec2e..0f22b90 100644 (file)
@@ -1479,7 +1479,7 @@ static void demo_init_xgl(struct demo *demo)
         .appVersion = 0,
         .pEngineName = "cube",
         .engineVersion = 0,
-        .apiVersion = XGL_MAKE_VERSION(0, 22, 0),
+        .apiVersion = XGL_API_VERSION,
     };
     const XGL_WSI_X11_CONNECTION_INFO connection = {
         .pConnection = demo->connection,
index fc1e439..4544c23 100644 (file)
@@ -650,7 +650,7 @@ int main(int argc, char **argv)
         .appVersion = 1,
         .pEngineName = "xglinfo",
         .engineVersion = 1,
-        .apiVersion = XGL_MAKE_VERSION(0, 22, 0),
+        .apiVersion = XGL_API_VERSION,
     };
     struct app_gpu gpus[MAX_GPUS];
     XGL_PHYSICAL_GPU objs[MAX_GPUS];