Alexandre Julliard : gdi32: Return more meaningful data in the null driver GetDeviceCaps implementation.
Dmitry Timoshkov
dmitry at baikal.ru
Fri May 19 04:31:16 CDT 2017
Alexandre Julliard <julliard at winehq.org> wrote:
> >> + case BITSPIXEL: return 32;
> >
> > Shouldn't BITSPIXEL be also fetched from dev->hdc like the values below?
>
> It would have to be fetched from other values, but I don't see how you
> would do that. You can't fetch BITSPIXEL itself, that would cause an
> infinite loop.
Does that mean that null driver always uses hardcoded BITSPIXEL = 32,
and therefore other values depending on it should be hardcoded too?
--
Dmitry.
More information about the wine-devel
mailing list