Browse Source

doc: explicitly mention undefined behavior when using unsupported GL API.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
1a1e00e4e1
  1. 5
      doc/opengl-wrapping.dox

5
doc/opengl-wrapping.dox

@ -151,6 +151,11 @@ else
format = TextureFormat::DepthComponent24; format = TextureFormat::DepthComponent24;
@endcode @endcode
@attention Using API that requires OpenGL version or extension that is not
provided by the driver results in undefined behavior -- the best you can
get is GL error, it may lead to strange behavior and even crashes when
calling GL functions that are not available.
Some functionality can be emulated by Magnum -- it detects available extensions Some functionality can be emulated by Magnum -- it detects available extensions
and selects best possible code path for optimal performance. On startup, the and selects best possible code path for optimal performance. On startup, the
application prints list of extensions that were used to improve the default application prints list of extensions that were used to improve the default

Loading…
Cancel
Save