From 97a89c4c989ede2346c35a669259d705ee486023 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Mon, 23 Feb 2015 17:40:15 -0700 Subject: [PATCH] misc: Use XGL_API_VERSION instead of hard coded value --- demos/cube.c | 2 +- demos/xglinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/cube.c b/demos/cube.c index 79aec2e..0f22b90 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -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, diff --git a/demos/xglinfo.c b/demos/xglinfo.c index fc1e439..4544c23 100644 --- a/demos/xglinfo.c +++ b/demos/xglinfo.c @@ -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]; -- 2.7.4