Fixed the god-awful indentation

This commit is contained in:
mathusummut
2018-05-06 00:01:36 +02:00
parent 643e3820f5
commit 35b7b1f1a6
459 changed files with 204893 additions and 217545 deletions

View File

@@ -16,33 +16,42 @@
#include "gl_wrap.h"
#include "leak_dumper.h"
namespace Shared{ namespace Graphics{ namespace Gl{
namespace Shared {
namespace Graphics {
namespace Gl {
using Platform::PlatformContextGl;
using Platform::PlatformContextGl;
// =====================================================
// class ContextGl
// =====================================================
// =====================================================
// class ContextGl
// =====================================================
class ContextGl: public Context {
protected:
PlatformContextGl pcgl;
class ContextGl : public Context {
protected:
PlatformContextGl pcgl;
public:
ContextGl();
virtual ~ContextGl();
public:
ContextGl();
virtual ~ContextGl();
virtual void init();
virtual void end();
virtual void reset(){};
virtual void init();
virtual void end();
virtual void reset() {
};
virtual void makeCurrent();
virtual void swapBuffers();
virtual void makeCurrent();
virtual void swapBuffers();
const PlatformContextGl *getPlatformContextGl() const {return &pcgl;}
PlatformContextGl *getPlatformContextGlPtr() {return &pcgl;}
};
const PlatformContextGl *getPlatformContextGl() const {
return &pcgl;
}
PlatformContextGl *getPlatformContextGlPtr() {
return &pcgl;
}
};
}}}//end namespace
}
}
}//end namespace
#endif