glcontext: Improve documentation on get_use_es api
authorPablo Correa Gómez <ablocorrea@hotmail.com>
Mon, 30 May 2022 18:47:40 +0000 (20:47 +0200)
committerPablo Correa Gómez <ablocorrea@hotmail.com>
Mon, 30 May 2022 18:48:47 +0000 (20:48 +0200)
gdk/gdkglcontext.c

index c0f96c0fecd4c1862da0f335b0a67d09b2a9a713..c566f75e060e9ce168278aaf6b6baebd20d6a60c 100644 (file)
@@ -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)