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