diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-23 17:40:15 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-23 17:54:24 -0700 |
| commit | 97a89c4c989ede2346c35a669259d705ee486023 (patch) | |
| tree | 4185d7923040580aff8080409267c78a4154682e | |
| parent | 7268ceddb3b39673feb19756f5857a87f9d870c8 (diff) | |
| download | usermoji-97a89c4c989ede2346c35a669259d705ee486023.tar.xz | |
misc: Use XGL_API_VERSION instead of hard coded value
| -rw-r--r-- | demos/cube.c | 2 | ||||
| -rw-r--r-- | demos/xglinfo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/cube.c b/demos/cube.c index 79aec2e8..0f22b905 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 fc1e439c..4544c23d 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]; |
