dxx-rebirth/common/2d
Kp b6a26ddc8c Fix high score background truncation
Commit 4d6affd74d ("Fix SDL-only briefing crash") added a hack to
prevent a crash when the briefing window is automatically resized.
However, a logic error in that hack causes some subcanvases that were
not wrong to be truncated.  Change the logic to fix those subcanvases,
such as the one used for rendering a background in the High Scores
window.  The new logic still avoids the crash in in SDL-only mode.

Fixes: 4d6affd74d ("Fix SDL-only briefing crash")
2021-12-01 03:08:27 +00:00
..
2dsline.cpp Use enum class for gr fade_level 2021-09-19 10:53:48 +00:00
bitblt.cpp Assign weakly-typed symbolic names to ogl_ubitmapm_cs special cases 2021-11-01 03:37:18 +00:00
bitmap.cpp Fix high score background truncation 2021-12-01 03:08:27 +00:00
bitmap.h Add color_palette_index type alias, to note palette-related uint8_t 2020-07-16 02:31:04 +00:00
box.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
canvas.cpp Use enum class for gr fade_level 2021-09-19 10:53:48 +00:00
circle.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
clip.h Expand EXCHG 2015-04-02 02:36:54 +00:00
disc.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
gpixel.cpp Use enum class bm_mode for grs_bitmap::type 2021-09-12 16:20:52 +00:00
line.cpp Use enum class bm_mode for grs_bitmap::type 2021-09-12 16:20:52 +00:00
pixel.cpp Use enum class bm_mode for grs_bitmap::type 2021-09-12 16:20:52 +00:00
rect.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
rle.cpp Factor out common logic in rle conditionals 2021-09-04 12:17:14 +00:00
scalec.cpp Switch decode_row from xrange to span to better express its operation 2021-06-28 03:37:51 +00:00