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

@@ -17,29 +17,31 @@
#include "leak_dumper.h"
namespace Shared{ namespace Graphics{
namespace Shared {
namespace Graphics {
// =====================================================
// class GraphicsInterface
// =====================================================
// =====================================================
// class GraphicsInterface
// =====================================================
GraphicsInterface::GraphicsInterface(){
graphicsFactory= NULL;
currentContext= NULL;
}
GraphicsInterface::GraphicsInterface() {
graphicsFactory = NULL;
currentContext = NULL;
}
GraphicsInterface &GraphicsInterface::getInstance(){
static GraphicsInterface graphicsInterface;
return graphicsInterface;
}
GraphicsInterface &GraphicsInterface::getInstance() {
static GraphicsInterface graphicsInterface;
return graphicsInterface;
}
void GraphicsInterface::setFactory(GraphicsFactory *graphicsFactory){
this->graphicsFactory= graphicsFactory;
}
void GraphicsInterface::setFactory(GraphicsFactory *graphicsFactory) {
this->graphicsFactory = graphicsFactory;
}
void GraphicsInterface::setCurrentContext(Context *context){
this->currentContext= context;
currentContext->makeCurrent();
}
void GraphicsInterface::setCurrentContext(Context *context) {
this->currentContext = context;
currentContext->makeCurrent();
}
}}//end namespace
}
}//end namespace