[gtk+] docs: Specify the minimum version of GL provided by the core profile
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: Specify the minimum version of GL provided by the core profile
- Date: Thu, 12 Feb 2015 14:52:50 +0000 (UTC)
commit f52a59d4148dedc40d8e942f120c7999a39ffec7
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Feb 12 13:32:02 2015 +0000
docs: Specify the minimum version of GL provided by the core profile
When using GDK_GL_PROFILE_3_2_CORE, we are not only specifying that the
GDK should create a core profile; we are also specifying that the
minimum required version of OpenGL is set to 3.2.
We should also specify that the GDK_GL_PROFILE_DEFAULT profile is an
alias for GDK_GL_PROFILE_3_2_CORE.
gdk/gdktypes.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index 2a377d8..1eb45c2 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -436,7 +436,9 @@ struct _GdkPoint
/**
* GdkGLProfile:
* @GDK_GL_PROFILE_DEFAULT: The default profile.
- * @GDK_GL_PROFILE_3_2_CORE: Use core 3.2 GL profiles
+ * @GDK_GL_PROFILE_3_2_CORE: Use the OpenGL core profile, with
+ * a minimum required version of 3.2; this is the default
+ * profile.
*
* The profile to be used when creating a #GdkGLContext.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]