mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 17:39:02 +02:00
Fixed the god-awful indentation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user