summaryrefslogtreecommitdiff
path: root/src/video/cocoa_v.mm
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
commit65a3abe1c1d96b37d3ba244a343e86fd17a4b752 (patch)
tree82d616e05cde7feddf62bd0fa3ac79d565751b2d /src/video/cocoa_v.mm
parent265f8b7d5d0ce323a9e5e9a4a6095799c606caf2 (diff)
downloadopenttd-65a3abe1c1d96b37d3ba244a343e86fd17a4b752.tar.xz
(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends
Diffstat (limited to 'src/video/cocoa_v.mm')
-rw-r--r--src/video/cocoa_v.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm
index f34525bc6..3083414b0 100644
--- a/src/video/cocoa_v.mm
+++ b/src/video/cocoa_v.mm
@@ -968,10 +968,6 @@ static void QZ_SetPortAlphaOpaque()
static void QZ_UpdateWindowPalette(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;
-
uint i;
switch (_cocoa_video_data.device_bpp) {