Browse Source

MSVC 2013 compatibility: avoid memory corruption.

Vladimír Vondruš 11 years ago
parent
commit
56650063df
  1. 6
      src/Magnum/Implementation/TransformFeedbackState.h

6
src/Magnum/Implementation/TransformFeedbackState.h

@ -27,6 +27,12 @@
#include "Magnum/Context.h" #include "Magnum/Context.h"
/* If not included, the following members have bad offsets, causing weird
runtime behavior */
#ifdef CORRADE_MSVC2013_COMPATIBILITY
#include "Magnum/TransformFeedback.h"
#endif
namespace Magnum { namespace Implementation { namespace Magnum { namespace Implementation {
struct TransformFeedbackState { struct TransformFeedbackState {

Loading…
Cancel
Save