1
0
Fork 0

source/Platform/Unix: stub implementation

This commit is contained in:
Henrik Hautakoski 2019-06-01 01:13:44 +02:00
parent b0d14b91e0
commit 38d333862a
20 changed files with 498 additions and 2 deletions

View file

@ -0,0 +1,61 @@
#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