18 lines
318 B
C++
18 lines
318 B
C++
|
#include "gfx.hpp"
|
||
|
|
||
|
#include <SDL/SDL.h>
|
||
|
#include <platform.hpp>
|
||
|
|
||
|
void GFX::MakeContextCurrent()
|
||
|
{
|
||
|
SDL_GLContext glcontext = SDL_GL_CreateContext(static_cast<SDL_Window*>(Platform::GetUserData()));
|
||
|
}
|
||
|
|
||
|
void GFX::SwapBuffers()
|
||
|
{
|
||
|
SDL_GL_SwapBuffers();
|
||
|
}
|
||
|
|
||
|
void GFX::GoFullscreen() {}
|
||
|
|
||
|
void GFX::ExitFullscreen() {}
|