Browse Source

Allocate enough space for all shader state.

What the hell.
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
258b4b2e56
  1. 4
      src/Magnum/Implementation/ShaderState.h

4
src/Magnum/Implementation/ShaderState.h

@ -52,7 +52,9 @@ struct ShaderState {
enum: std::size_t {
#ifndef MAGNUM_TARGET_GLES
StageCount = 5
StageCount = 6
#elif !defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL)
StageCount = 3
#else
StageCount = 2
#endif

Loading…
Cancel
Save