diff options
author | smatz <smatz@openttd.org> | 2009-06-01 11:49:46 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-01 11:49:46 +0000 |
commit | c03ce4b1c704ef638374f56bbb9692db0e4e354c (patch) | |
tree | 72c24a2c268425261ae4e01f9900cedef22ecc26 /src/blitter | |
parent | bab70a823dd810e1d4477f0c01d3a7b3e9b19ac8 (diff) | |
download | openttd-c03ce4b1c704ef638374f56bbb9692db0e4e354c.tar.xz |
(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed.
Diffstat (limited to 'src/blitter')
-rw-r--r-- | src/blitter/32bpp_optimized.hpp | 2 | ||||
-rw-r--r-- | src/blitter/8bpp_optimized.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_optimized.hpp b/src/blitter/32bpp_optimized.hpp index c8b994d9c..344659c85 100644 --- a/src/blitter/32bpp_optimized.hpp +++ b/src/blitter/32bpp_optimized.hpp @@ -12,7 +12,7 @@ class Blitter_32bppOptimized : public Blitter_32bppSimple { public: struct SpriteData { uint32 offset[ZOOM_LVL_COUNT][2]; - byte data[VARARRAY_SIZE]; + byte data[]; }; /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); diff --git a/src/blitter/8bpp_optimized.hpp b/src/blitter/8bpp_optimized.hpp index 85a7b06ad..a7c8ea186 100644 --- a/src/blitter/8bpp_optimized.hpp +++ b/src/blitter/8bpp_optimized.hpp @@ -12,7 +12,7 @@ class Blitter_8bppOptimized : public Blitter_8bppBase { public: struct SpriteData { uint32 offset[ZOOM_LVL_COUNT]; ///< offsets (from .data) to streams for different zoom levels - byte data[VARARRAY_SIZE]; ///< data, all zoomlevels + byte data[]; ///< data, all zoomlevels }; /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); |