diff options
author | matthijs <matthijs@openttd.org> | 2012-02-07 10:27:48 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2012-02-07 10:27:48 +0000 |
commit | 311413a0913a8002d50aebf643dc3934357d3af4 (patch) | |
tree | f73d0db2cbf7a44ea97156a03c91eaaaeaf71f92 /src/script/squirrel_class.hpp | |
parent | cba6390973f27410b5dc32923bc697ed9ff1d2cc (diff) | |
download | openttd-311413a0913a8002d50aebf643dc3934357d3af4.tar.xz |
(svn r23910) -Fix: [SDL] Handle the SDL_VIDEOEXPOSE event.
- It seems this event is never triggered when using 1.2 (it has some
autorefresh feature which seems to have been removed in 1.3), but in theory
this event could also trigger on 1.2.
- Note that this fixes redraw issues when compiling against SDL 1.3, but it
still uses the "compatibility" rendering API using SDL_SetVideoMode and
SDL_UpdateRects. Eventually (when 1.3 is stable and released as 2.0), this
should probably be rewritting to use the new Windows and Renderers
available in SDL 1.3.
Diffstat (limited to 'src/script/squirrel_class.hpp')
0 files changed, 0 insertions, 0 deletions