summaryrefslogtreecommitdiff
path: root/src/blitter/8bpp_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blitter/8bpp_base.cpp')
-rw-r--r--src/blitter/8bpp_base.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/blitter/8bpp_base.cpp b/src/blitter/8bpp_base.cpp
index c4035fe1f..423b0604e 100644
--- a/src/blitter/8bpp_base.cpp
+++ b/src/blitter/8bpp_base.cpp
@@ -33,12 +33,6 @@ void Blitter_8bppBase::SetPixel(void *video, int x, int y, uint8 colour)
*((uint8 *)video + x + y * _screen.pitch) = colour;
}
-void Blitter_8bppBase::SetPixelIfEmpty(void *video, int x, int y, uint8 colour)
-{
- uint8 *dst = (uint8 *)video + x + y * _screen.pitch;
- if (*dst == 0) *dst = colour;
-}
-
void Blitter_8bppBase::DrawRect(void *video, int width, int height, uint8 colour)
{
do {