From cc3e2df1e14035ec13bde10d075834e139d208a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 19 Jun 2016 17:10:34 +0200 Subject: [PATCH] Fix Attribute documentation to reflect actual enum values. --- src/Magnum/Attribute.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Magnum/Attribute.h b/src/Magnum/Attribute.h index 3645826e8..439e81383 100644 --- a/src/Magnum/Attribute.h +++ b/src/Magnum/Attribute.h @@ -171,7 +171,11 @@ template class Attribute { * @requires_webgl20 Half float vertex attributes are not available * in WebGL 1.0. */ + #ifndef MAGNUM_TARGET_GLES2 HalfFloat = GL_HALF_FLOAT, + #else + HalfFloat = GL_HALF_FLOAT_OES, + #endif #endif /** Float. Only for float attribute types. */