• Zebediah Figura's avatar
    wined3d: Use a string channel desc to initialize typed formats. · bb82bc78
    Zebediah Figura authored
    Avoid the need for manually set type attributes, and initialize the component
    count for all such formats.
    
    This fixes use of R11G11B10_FLOAT as a vertex attribute format with the GL
    backend. Since it has no corresponding typeless format, prior to this commit the
    component count was uninitialized and hence use of the format would result in a
    GL error.
    
    This fixes a GL error with Dark Souls Remastered. I did not immediately observe
    any corresponding rendering errors, however.
    bb82bc78
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
async.c Loading commit data...
buffer.c Loading commit data...
d3d11.spec Loading commit data...
d3d11_main.c Loading commit data...
d3d11_private.h Loading commit data...
device.c Loading commit data...
inputlayout.c Loading commit data...
shader.c Loading commit data...
state.c Loading commit data...
texture.c Loading commit data...
utils.c Loading commit data...
version.rc Loading commit data...
view.c Loading commit data...