Browse Source

GCC 4.5 compatibility: no forward declarations for enums.

Vladimír Vondruš 13 years ago
parent
commit
53c0f517b1
  1. 1
      src/AbstractFramebuffer.h
  2. 1
      src/AbstractTexture.h
  3. 2
      src/Magnum.h
  4. 4
      src/MeshTools/CompressIndices.h

1
src/AbstractFramebuffer.h

@ -35,6 +35,7 @@
#include "OpenGL.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Buffer.h"
#include "ImageFormat.h"
#endif

1
src/AbstractTexture.h

@ -33,6 +33,7 @@
#include "Sampler.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Buffer.h"
#include "ImageFormat.h"
#include "TextureFormat.h"
#endif

2
src/Magnum.h

@ -527,7 +527,9 @@ template<class T> class Array1D;
template<class T> class Array2D;
template<class T> class Array3D;
#ifndef CORRADE_GCC45_COMPATIBILITY
enum class BufferUsage: GLenum;
#endif
class Buffer;
#ifndef MAGNUM_TARGET_GLES2

4
src/MeshTools/CompressIndices.h

@ -32,6 +32,10 @@
#include "Mesh.h"
#ifdef CORRADE_GCC45_COMPATIBILITY
#include "Buffer.h"
#endif
#include "magnumMeshToolsVisibility.h"
namespace Magnum { namespace MeshTools {

Loading…
Cancel
Save