Browse Source

OpenGL ES compilation fixes.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
a386a5ed35
  1. 2
      src/Contexts/ExtensionWrangler.cpp
  2. 2
      src/Framebuffer.h

2
src/Contexts/ExtensionWrangler.cpp

@ -31,6 +31,8 @@ void ExtensionWrangler::initialize(ExperimentalFeatures experimentalFeatures) {
Error() << "ExtensionWrangler: cannot initialize GLEW:" << glewGetErrorString(err);
exit(1);
}
#else
static_cast<void>(experimentalFeatures); /* Shut up about unused parameter */
#endif
}

2
src/Framebuffer.h

@ -1112,7 +1112,9 @@ class MAGNUM_EXPORT Framebuffer {
};
CORRADE_ENUMSET_OPERATORS(Framebuffer::ClearMask)
#ifndef MAGNUM_TARGET_GLES
CORRADE_ENUMSET_OPERATORS(Framebuffer::BlitMask)
#endif
}

Loading…
Cancel
Save