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