Browse Source

GCC 4.5 compatibility: no forward enum declarations.

Vladimír Vondruš 12 years ago
parent
commit
96e2c35da4
  1. 4
      src/Magnum/Implementation/FramebufferState.h
  2. 6
      src/Magnum/Implementation/TextureState.h

4
src/Magnum/Implementation/FramebufferState.h

@ -30,6 +30,10 @@
#include "Magnum/Framebuffer.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Magnum/RenderbufferFormat.h"
#endif
namespace Magnum { namespace Implementation {
struct FramebufferState {

6
src/Magnum/Implementation/TextureState.h

@ -31,6 +31,12 @@
#include "Magnum/Magnum.h"
#include "Magnum/OpenGL.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Magnum/BufferTexture.h"
#include "Magnum/ColorFormat.h"
#include "Magnum/TextureFormat.h"
#endif
namespace Magnum { namespace Implementation {
struct TextureState {

Loading…
Cancel
Save