Browse Source

MSVC 2013 compatibility: fix bad sizes for member function pointers.

Follow-up to eb66de657b, I mistyped ifdef
for ifndef. Sorry. Fixes #70.
Vladimír Vondruš 12 years ago
parent
commit
b5dc142e27
  1. 6
      src/Magnum/Implementation/FramebufferState.h

6
src/Magnum/Implementation/FramebufferState.h

@ -34,9 +34,9 @@
#include "Magnum/RenderbufferFormat.h"
#endif
/* We did't get memory corruption like in e.g. TextureState here, but include
the header just to be sure */
#ifndef CORRADE_MSVC2013_COMPATIBILITY
/* If not included, the following members have bad offsets, causing weird
runtime behavior */
#ifdef CORRADE_MSVC2013_COMPATIBILITY
#include "Magnum/Renderbuffer.h"
#endif

Loading…
Cancel
Save