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

@@ -21,37 +21,41 @@
using namespace std;
using namespace Shared::Util;
namespace Shared{ namespace Graphics{ namespace Gl{
namespace Shared {
namespace Graphics {
namespace Gl {
// =====================================================
// class ContextGl
// =====================================================
// =====================================================
// class ContextGl
// =====================================================
ContextGl::ContextGl() : Context() {
ContextGl::ContextGl() : Context() {
}
}
void ContextGl::init() {
void ContextGl::init() {
pcgl.init(colorBits, depthBits, stencilBits,
(hardware_acceleration != 0), (fullscreen_anti_aliasing != 0),
gammaValue);
}
pcgl.init(colorBits, depthBits, stencilBits,
(hardware_acceleration != 0), (fullscreen_anti_aliasing != 0),
gammaValue);
}
ContextGl::~ContextGl() {
end();
}
ContextGl::~ContextGl() {
end();
}
void ContextGl::end() {
pcgl.end();
}
void ContextGl::end() {
pcgl.end();
}
void ContextGl::makeCurrent() {
pcgl.makeCurrent();
}
void ContextGl::makeCurrent() {
pcgl.makeCurrent();
}
void ContextGl::swapBuffers() {
pcgl.swapBuffers();
}
void ContextGl::swapBuffers() {
pcgl.swapBuffers();
}
}}}//end namespace
}
}
}//end namespace