summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-19 15:40:27 +0000
committertruelight <truelight@openttd.org>2007-06-19 15:40:27 +0000
commit766168ad4322d74ce9d51fe6b68e2a3d35f9feae (patch)
tree82d616e05cde7feddf62bd0fa3ac79d565751b2d /src/video/win32_v.cpp
parent1e73884c104ba14b127ac34cd124de470ee45e29 (diff)
downloadopenttd-766168ad4322d74ce9d51fe6b68e2a3d35f9feae.tar.xz
(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r--src/video/win32_v.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp
index b0f8f4f1a..c0a47edc6 100644
--- a/src/video/win32_v.cpp
+++ b/src/video/win32_v.cpp
@@ -64,10 +64,6 @@ static void MakePalette()
static void UpdatePalette(HDC dc, uint start, uint count)
{
- /* We can only update the palette in 8bpp for now */
- /* TODO -- We need support for other bpps too! */
- if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() != 8) return;
-
RGBQUAD rgb[256];
uint i;