Browse Source

GCC 4.6 compatibility: no template aliases.

Vladimír Vondruš 12 years ago
parent
commit
3075007829
  1. 4
      src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h

4
src/Magnum/Platform/Implementation/OpenGLFunctionLoader.h

@ -36,11 +36,15 @@ namespace Magnum { namespace Platform { namespace Implementation {
class OpenGLFunctionLoader {
public:
#ifndef CORRADE_GCC46_COMPATIBILITY
#ifndef CORRADE_TARGET_WINDOWS
using FunctionPointer = void(*)();
#else
using FunctionPointer = PROC;
#endif
#else
typedef void(*FunctionPointer)();
#endif
explicit OpenGLFunctionLoader();
~OpenGLFunctionLoader();

Loading…
Cancel
Save