projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826fdc4
)
glcontext: Improve get_version documentation
author
Pablo Correa Gómez
<ablocorrea@hotmail.com>
Mon, 9 May 2022 22:21:40 +0000
(
00:21
+0200)
committer
Pablo Correa Gómez
<ablocorrea@hotmail.com>
Sat, 4 Jun 2022 18:48:29 +0000
(20:48 +0200)
gdk/gdkglcontext.c
patch
|
blob
|
history
diff --git
a/gdk/gdkglcontext.c
b/gdk/gdkglcontext.c
index c566f75e060e9ce168278aaf6b6baebd20d6a60c..8f9fe2539690603db729e81838b6fdbe8509c980 100644
(file)
--- a/
gdk/gdkglcontext.c
+++ b/
gdk/gdkglcontext.c
@@
-1676,6
+1676,10
@@
gdk_gl_context_get_shared_context (GdkGLContext *context)
* Retrieves the OpenGL version of the @context.
*
* The @context must be realized prior to calling this function.
+ *
+ * If the @context has never been made current, the version cannot
+ * be known and it will return 0 for both @major and @minor.
+ *
*/
void
gdk_gl_context_get_version (GdkGLContext *context,