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