libstarlight/libstarlight/source/starlight/gfx/DrawContextTouchscreen.cpp
2017-01-16 20:40:45 -05:00

23 lines
400 B
C++

#include "starlight/gfx/RenderCore.h"
#include "DrawContextTouchscreen.h"
using starlight::gfx::DrawContextTouchscreen;
void DrawContextTouchscreen::Open() {
// meh
}
void DrawContextTouchscreen::Close() {
drawReady = false;
}
bool DrawContextTouchscreen::Prepare() {
if (drawReady) return true;
drawReady = true;
RenderCore::targetBottom->BindTarget();
return true;
}