summaryrefslogtreecommitdiff
path: root/ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc')
-rw-r--r--ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc b/ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc
index cbeebbd..e28bfa9 100644
--- a/ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc
+++ b/ucoo/hal/frame_buffer/sdl_frame_buffer.host.cc
@@ -55,6 +55,11 @@ SdlFrameBuffer::disable ()
}
void
+SdlFrameBuffer::on (bool state)
+{
+}
+
+void
SdlFrameBuffer::refresh ()
{
SDL_UpdateTexture (tex_, nullptr, pixels_, width * 4);