aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/render.cpp')
-rw-r--r--sword2/driver/render.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sword2/driver/render.cpp b/sword2/driver/render.cpp
index fed1e0ed28..4674aa80fd 100644
--- a/sword2/driver/render.cpp
+++ b/sword2/driver/render.cpp
@@ -828,7 +828,7 @@ void Graphics::closeBackgroundLayer(void) {
_layer = 0;
}
-
+#ifdef BACKEND_8BIT
void Graphics::plotYUV(byte *lut, int width, int height, byte *const *dat) {
byte *buf = _buffer + (40 + (400 - height) / 2) * RENDERWIDE + (640 - width) / 2;
@@ -852,6 +852,7 @@ void Graphics::plotYUV(byte *lut, int width, int height, byte *const *dat) {
ypos += width;
}
}
+#endif
} // End of namespace Sword2