Browse Source

Enlarged extension availability array to make room for even more.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
654b1b2a18
  1. 4
      src/Magnum/Context.h
  2. 2
      src/Magnum/Extensions.h

4
src/Magnum/Context.h

@ -470,8 +470,8 @@ class MAGNUM_EXPORT Context {
Flags _flags;
#endif
std::array<Version, 160> _extensionRequiredVersion;
std::bitset<160> _extensionStatus;
std::array<Version, 256> _extensionRequiredVersion;
std::bitset<256> _extensionStatus;
std::vector<Extension> _supportedExtensions;
Implementation::State* _state;

2
src/Magnum/Extensions.h

@ -228,7 +228,7 @@ namespace GL {
_extension(GL,NV,conditional_render, GL210, GL300) // #346
/* NV_draw_texture not supported */ // #430
}
/* IMPORTANT: if this line is > 233 (73 + size), don't forget to update array size in Context.h */
/* IMPORTANT: if this line is > 329 (73 + size), don't forget to update array size in Context.h */
#elif defined(MAGNUM_TARGET_WEBGL)
#line 1
namespace ANGLE {

Loading…
Cancel
Save