1
0
Fork 0
spectre/source/Platform/Unix/GLXContext.cpp

61 lines
632 B
C++

#include "GLXContext.h"
namespace sp {
GLXContext::GLXContext()
{
}
GLXContext::~GLXContext()
{
}
bool GLXContext::create(const PlatformDisplay* display)
{
return true;
}
void GLXContext::destroy()
{
}
bool GLXContext::activate()
{
return true;
}
bool GLXContext::deactivate()
{
return true;
}
bool GLXContext::isActive() const
{
return true;
}
bool GLXContext::setSwapInterval(int interval)
{
return true;
}
void GLXContext::setSize(unsigned int width, unsigned int height)
{
}
void GLXContext::setSize(const Vector2u size)
{
setSize(size.x, size.y);
}
void GLXContext::swapBuffers()
{
}
} // namespace sp