[gtk: 2/11] glcontext: Improve documentation on get_use_es api
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 2/11] glcontext: Improve documentation on get_use_es api
- Date: Sat, 4 Jun 2022 20:26:59 +0000 (UTC)
commit 826fdc4a801c0fa24dd82d175299b45d46108677
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 c0f96c0fec..c566f75e06 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -1348,7 +1348,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]