aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2021-07-13 00:36:15 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2021-07-13 15:45:48 +0100
commitebcd4fabd87d88576b319ad1c30b7ae4679d9f90 (patch)
tree343583cccc239add110bd705e4c0d16fe1cd4483
parente4f87fb5f2a8c212119ab867b9afdcf3ee781482 (diff)
downloadwaffle-ebcd4fabd87d88576b319ad1c30b7ae4679d9f90.tar.gz
waffle: use same version API across programs
None of them uses the fancy new features, but hey at least we're consistent across the project. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--examples/gl_basic.c2
-rw-r--r--examples/simple-x11-egl.c2
-rw-r--r--src/utils/wflinfo.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/gl_basic.c b/examples/gl_basic.c
index 4408744..e0973bf 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -34,7 +34,7 @@
/// each buffer swap.
#define _POSIX_C_SOURCE 199309L // glibc feature macro for nanosleep.
-#define WAFFLE_API_VERSION 0x0106
+#define WAFFLE_API_VERSION 0x0108
#define WAFFLE_API_EXPERIMENTAL
#include <assert.h>
diff --git a/examples/simple-x11-egl.c b/examples/simple-x11-egl.c
index c08fc04..82f2282 100644
--- a/examples/simple-x11-egl.c
+++ b/examples/simple-x11-egl.c
@@ -33,7 +33,7 @@
/// This example is too simple; it does not perform proper error checking. For
/// a complete example with error checking, see gl_basic.c.
-#define WAFFLE_API_VERSION 0x0106
+#define WAFFLE_API_VERSION 0x0108
#define WAFFLE_API_EXPERIMENTAL
#include <stdlib.h>
diff --git a/src/utils/wflinfo.c b/src/utils/wflinfo.c
index 59937f5..980c88d 100644
--- a/src/utils/wflinfo.c
+++ b/src/utils/wflinfo.c
@@ -32,7 +32,7 @@
/// 2. Create an OpenGL context.
/// 3. Print information about the context.
-#define WAFFLE_API_VERSION 0x0106
+#define WAFFLE_API_VERSION 0x0108
#include <assert.h>
#include <ctype.h>