bpp support?

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
User avatar
Raziel
ScummVM Porter
Posts: 1581
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

bpp support?

Post by Raziel »

There is a "bpp=" entry possible in residualvm.ini, but when i use "8" and "24" i get an error message, telling me that the these bpp values are not suppported.
WARNING: Unsupported bpp value: 8! (or 24)
WARNING: SDL_SetVideoMode failed: Invalid texture!
coming from https://github.com/residualvm/residualv ... s.cpp#L439

Those are supported on my system.
So i'm wondering if residualvm supports them and if not, why can i still choose them? :-)
And if they are supported by residualvm, why don't they work with my system? ;-)
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3583
Joined: Mon Oct 31, 2005 7:39 am

Re: bpp support?

Post by eriktorbjorn »

Raziel wrote:There is a "bpp=" entry possible in residualvm.ini, but when i use "8" and "24" i get an error message, telling me that the these bpp values are not suppported.
I assume it's the same as the --bpp command-line option. If so, it's documented as "Select number of bits per pixel, 0 (auto-detect), 16, 32 (default: 0) (only supported by software renderer)". I don't know if that's accurate or not.
User avatar
Raziel
ScummVM Porter
Posts: 1581
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

Re: bpp support?

Post by Raziel »

@eriktorbjorn

Ah, that explains it, i guess, those values are just not supported.
Still, there probably should be some kind of warning or error if a user choose the wrong value, or at least skip it?

Thank you
Post Reply