Switch from Nz prefix to namespace Nz for linux

Former-commit-id: 64eeaf3c633254b04910ebd4576fd9e910002be0
This commit is contained in:
Youri Hubaut
2015-09-27 15:58:49 +02:00
parent 752518ef14
commit 37586e7283
49 changed files with 3918 additions and 3732 deletions

View File

@@ -9,31 +9,34 @@
#include <Nazara/Renderer/OpenGL.hpp>
class NzContextParameters;
class NzContextImpl
namespace Nz
{
public:
NzContextImpl();
~NzContextImpl();
class ContextParameters;
bool Activate();
class ContextImpl
{
public:
ContextImpl();
~ContextImpl();
bool Create(NzContextParameters& parameters);
bool Activate();
void Destroy();
bool Create(ContextParameters& parameters);
void EnableVerticalSync(bool enabled);
void Destroy();
void SwapBuffers();
void EnableVerticalSync(bool enabled);
static bool Desactivate();
void SwapBuffers();
private:
GLX::Colormap m_colormap;
GLX::GLXContext m_context;
GLX::Window m_window;
bool m_ownsWindow;
};
static bool Desactivate();
private:
GLX::Colormap m_colormap;
GLX::GLXContext m_context;
GLX::Window m_window;
bool m_ownsWindow;
};
}
#endif // NAZARA_CONTEXTIMPL_HPP