From dfd86079bc6c46a4b9b256890156b0bc503436db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 22 Dec 2013 19:59:24 +0100 Subject: [PATCH] Minor cleanup. --- src/AbstractObject.h | 4 +--- src/Implementation/DebugState.h | 7 ++----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/AbstractObject.h b/src/AbstractObject.h index befdbced6..e6d2a9158 100644 --- a/src/AbstractObject.h +++ b/src/AbstractObject.h @@ -36,9 +36,7 @@ namespace Magnum { -namespace Implementation { - struct DebugState; -} +namespace Implementation { struct DebugState; } /** @brief Base for all OpenGL objects diff --git a/src/Implementation/DebugState.h b/src/Implementation/DebugState.h index b6f1b2fae..3397c2063 100644 --- a/src/Implementation/DebugState.h +++ b/src/Implementation/DebugState.h @@ -34,11 +34,8 @@ namespace Magnum { namespace Implementation { struct DebugState { DebugState(Context& context); - typedef std::string(*GetLabelImplementation)(GLenum, GLuint); - GetLabelImplementation getLabelImplementation; - - typedef void(*LabelImplementation)(GLenum, GLuint, const std::string&); - LabelImplementation labelImplementation; + std::string(*getLabelImplementation)(GLenum, GLuint); + void(*labelImplementation)(GLenum, GLuint, const std::string&); GLint maxLabelLength; };