wined3d: universal surface convertor function for unsigned integer color formats(5th attempt)
Alexandre Julliard
julliard at winehq.org
Tue Jul 29 03:21:23 CDT 2008
Victor <ErV2005 at rambler.ru> writes:
> I've changed things a bit and resubmitted patch. Now there will be less
> ifdefs.
Not much better I'm afraid.
> I'm not sure which "data types" are you talking about, since I'll need
> per-byte surface access in any case, and It doesn't look like it can be
> wrapped into endianness-independant datatype.
No, you shouldn't be accessing the surface per byte either, the access
should depend on the format, i.e. for a 32-bit format you want to access
DWORD by DWORD.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list