[gtk+/wip/ebassi/gsk-renderer: 2/2] gdk: Add more GDK_GL_ERROR error ids
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gsk-renderer: 2/2] gdk: Add more GDK_GL_ERROR error ids
- Date: Fri, 1 Jul 2016 15:39:08 +0000 (UTC)
commit 3903f7a12be414456efb5bfed6ef14aa755f5c08
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Jul 1 16:17:14 2016 +0100
gdk: Add more GDK_GL_ERROR error ids
We're going to use them in other locations.
gdk/gdktypes.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index 48846b8..1eea348 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -470,6 +470,8 @@ struct _GdkPoint
* @GDK_GL_ERROR_NOT_AVAILABLE: OpenGL support is not available
* @GDK_GL_ERROR_UNSUPPORTED_FORMAT: The requested visual format is not supported
* @GDK_GL_ERROR_UNSUPPORTED_PROFILE: The requested profile is not supported
+ * @GDK_GL_ERROR_COMPILATION_FAILED: The shader compilation failed (available since 3.22)
+ * @GDK_GL_ERROR_LINK_FAILED: The shader linking failed (available since 3.22)
*
* Error enumeration for #GdkGLContext.
*
@@ -478,7 +480,9 @@ struct _GdkPoint
typedef enum {
GDK_GL_ERROR_NOT_AVAILABLE,
GDK_GL_ERROR_UNSUPPORTED_FORMAT,
- GDK_GL_ERROR_UNSUPPORTED_PROFILE
+ GDK_GL_ERROR_UNSUPPORTED_PROFILE,
+ GDK_GL_ERROR_COMPILATION_FAILED,
+ GDK_GL_ERROR_LINK_FAILED
} GdkGLError;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]