Browse Source

Don't include ES3/desktop-only header on ES2.

pull/110/head
Vladimír Vondruš 11 years ago
parent
commit
ebd8794ce6
  1. 2
      src/Magnum/Implementation/TextureState.h

2
src/Magnum/Implementation/TextureState.h

@ -30,7 +30,7 @@
#include "Magnum/CubeMapTexture.h"
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(MAGNUM_TARGET_GLES2)
/* Otherwise the member function pointers will have different size based on
whether the header was included or not. CAUSES SERIOUS MEMORY CORRUPTION AND
IS NOT CAUGHT BY ANY WARNING WHATSOEVER! AARGH! */

Loading…
Cancel
Save