From f06495dc04f140b041c53dbdfd485d93a0b23e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 11 Jan 2014 14:08:08 +0100 Subject: [PATCH] Doc++ --- doc/portability.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/portability.dox b/doc/portability.dox index 1596e55d0..6114973a1 100644 --- a/doc/portability.dox +++ b/doc/portability.dox @@ -145,8 +145,8 @@ void main() { It is often desirable to query extension presence based on actually used GLSL version -- while the extension might be supported in the driver, it might not be available in given GLSL version (e.g. causing compilation errors). You can -use @ref Context::isExtensionSupported(Version) to check that the extension -is present in given version: +use @ref Context::isExtensionSupported(Version) const to check that the +extension is present in given version: @code if(!Context::instance()->isExtensionSupported(version)) { bindAttributeLocation(Position::Location, "position");