summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qsurfaceformat.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-03-19 21:03:56 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-03-20 14:06:28 +0000
commit975260503a65725ef0957caf8b61bbca492e90be (patch)
treea074dadb7f5bca5ddba699a17ce22317748c87a8 /src/gui/kernel/qsurfaceformat.cpp
parent20870dad207ddcd53c269f93796ae1a7b01c7f89 (diff)
Add a note about not requesting a profile
As per spec not requesting a profile on 3.2+ is same as requesting core since the profile mask defaults to core. Change-Id: I5d03ac08bcba20c273c1c32a51f6a105eba0629f Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/kernel/qsurfaceformat.cpp')
-rw-r--r--src/gui/kernel/qsurfaceformat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qsurfaceformat.cpp b/src/gui/kernel/qsurfaceformat.cpp
index 6ec13e92a1..d5f5b358b3 100644
--- a/src/gui/kernel/qsurfaceformat.cpp
+++ b/src/gui/kernel/qsurfaceformat.cpp
@@ -185,7 +185,7 @@ public:
in the set OpenGL version you can use the QSurfaceFormat format option
QSurfaceFormat::DeprecatedFunctions.
- \value NoProfile OpenGL version is lower than 3.2.
+ \value NoProfile OpenGL version is lower than 3.2. For 3.2 and newer this is same as CoreProfile.
\value CoreProfile Functionality deprecated in OpenGL version 3.0 is not available.
\value CompatibilityProfile Functionality from earlier OpenGL versions is available.
*/