Browse Source

GL: doc++

pull/525/head
Vladimír Vondruš 4 years ago
parent
commit
8373357bd5
  1. 4
      src/Magnum/GL/RenderbufferFormat.h

4
src/Magnum/GL/RenderbufferFormat.h

@ -508,6 +508,10 @@ enum class RenderbufferFormat: GLenum {
* instead if not available. * instead if not available.
*/ */
RGBA32F = RGBA32F =
/* EXT_color_buffer_float, which WEBGL_color_buffer_float is based on,
is written against ES 3.0 and thus doesn't define GL_RGBA32F. The
only ext defining GL_RGBA32F on ES2 is EXT_texture_storage, but that
one has no WebGL equivalent, so we have no way to get the enum. */
#ifndef MAGNUM_TARGET_WEBGL #ifndef MAGNUM_TARGET_WEBGL
GL_RGBA32F GL_RGBA32F
#else #else

Loading…
Cancel
Save