Browse Source

Extended extension support bitset to handle MOAR of them.

160 should be enough for everyone ;-)
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
6908738afb
  1. 2
      src/Context.h
  2. 2
      src/Extensions.h

2
src/Context.h

@ -366,7 +366,7 @@ class MAGNUM_EXPORT Context {
Int _minorVersion; Int _minorVersion;
Flags _flags; Flags _flags;
std::bitset<128> extensionStatus; std::bitset<160> extensionStatus;
std::vector<Extension> _supportedExtensions; std::vector<Extension> _supportedExtensions;
Implementation::State* _state; Implementation::State* _state;

2
src/Extensions.h

@ -189,7 +189,7 @@ namespace GL {
_extension(GL,NV,conditional_render, GL210, GL300) // #346 _extension(GL,NV,conditional_render, GL210, GL300) // #346
/* NV_draw_texture not supported */ // #430 /* NV_draw_texture not supported */ // #430
} }
/* IMPORTANT: if this line is > 194 (67 + size), don't forget to update array size in Context.h */ /* IMPORTANT: if this line is > 226 (66 + size), don't forget to update array size in Context.h */
#else #else
#line 1 #line 1
namespace ANGLE { namespace ANGLE {

Loading…
Cancel
Save