Browse Source

Document the non-obvious behavior.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
8321a7ce08
  1. 1
      src/Magnum/Context.cpp

1
src/Magnum/Context.cpp

@ -407,6 +407,7 @@ Context::Context(void functionLoader()) {
if(version.find("WebGL 1") != std::string::npos)
#else
if(version.find("OpenGL ES 2.0") != std::string::npos ||
/* It is possible to use Magnum compiled for ES2 on ES3 contexts */
version.find("OpenGL ES 3.") != std::string::npos)
#endif
{

Loading…
Cancel
Save