[gtk/wip.win32.fixes: 8/23] glcontext: Improve documentation on get_use_es api
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip.win32.fixes: 8/23] glcontext: Improve documentation on get_use_es api
- Date: Wed, 1 Jun 2022 02:26:59 +0000 (UTC)
commit 2433effa2f8b6122e4c67d7967f8312050e589e4
Author: Pablo Correa Gómez <ablocorrea hotmail com>
Date: Mon May 30 20:47:40 2022 +0200
glcontext: Improve documentation on get_use_es api
gdk/gdkglcontext.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 8796221331..a79a1e235f 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -1343,7 +1343,9 @@ gdk_gl_context_set_use_es (GdkGLContext *context,
*
* Checks whether the @context is using an OpenGL or OpenGL ES profile.
*
- * Returns: %TRUE if the `GdkGLContext` is using an OpenGL ES profile
+ * Returns: %TRUE if the `GdkGLContext` is using an OpenGL ES profile;
+ * %FALSE if other profile is in use of if the @context has not yet
+ * been realized.
*/
gboolean
gdk_gl_context_get_use_es (GdkGLContext *context)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]