KEMBAR78
DREAMWEB: specify CLUT8 format for titles modes by spleen1981 · Pull Request #4848 · scummvm/scummvm · GitHub
Skip to content

Conversation

@spleen1981
Copy link
Contributor

If not specified, format selection may fall back to g_system->getSupportedFormats().front(), which may provide a not appropriate format (e.g. RGBA8888@4 will not display titles correcty).

@criezy
Copy link
Member

criezy commented Apr 4, 2023

Good catch!

This is indeed a regression from 13eb6f3.
In that commit the code was switched from using Engine::initGraphics() to using Engine::initGraphicsAny(). However it does not specify a pixel formats and the behaviour of those two functions differ in that case. The former uses CLUT8, while the latter, as you indicated, uses g_system->getSupportedFormats().front(). Fortunately the change was recent and is not included in the 2.7.0 release 😌

Thank you.

@criezy criezy merged commit 4cd4af4 into scummvm:master Apr 4, 2023
@spleen1981 spleen1981 deleted the dreamweb_fix_title_initsize branch April 11, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants