[PATCH 2/6] wined3d: Keep track of FBOs through the GL names (v2).

Henri Verbeet hverbeet at gmail.com
Mon Nov 2 05:16:32 CST 2015


On 2 November 2015 at 12:09, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> I prefer "GL_COLOR_ATTACHMENT0" over "0x8CE0", but I guess wine_dbg_sprintf would also do the job without requring my own sprintf.
>
It would, but you don't even need that. You can just return a static
string, like in debug_fbostatus().

> I don't trust the padding of the structure array after the 4 byte DWORD on 64 bit architectures.
>
It probably has some padding on 64-bit, but we don't memcmp() struct fbo_entry.



More information about the wine-devel mailing list