https://bugs.winehq.org/show_bug.cgi?id=41052
--- Comment #4 from Matteo Bruni matteo.mystral@gmail.com --- ...except that BGRA FBO attachments seem to work just fine in the trace from bug 41055. Looking at the diff between the traces I think the driver might not support BGRA sRGB attachments specifically.
Does commenting out the "GL_EXT_texture_sRGB_decode" entry in gl_extension_map[] (wined3d/directx.c) make any difference? Otherwise it should be possible to disable the GL extension via the MESA_EXTENSION_OVERRIDE environment variable (so something like MESA_EXTENSION_OVERRIDE="-GL_EXT_texture_sRGB_decode" wine ...), that should have the same effect as the code change I suggested.