• Henri Verbeet's avatar
    ddraw: Verify that the surface is not a depth buffer in SetRenderTarget(). · 8aae165f
    Henri Verbeet authored
    This check is even more inconsistent between versions. Notice how the v2
    interface is particularly broken because it never AddRef()'s the new iface.
    This check also seems to be the original source for the questionable behaviour
    in d3d_device_set_render_target() of storing the new iface before checking the
    result of the wined3d_device_set_render_target(). (In particular,
    SetRenderTargetTest() in tests/d3d.c tests for this behavious.)
    8aae165f
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
clipper.c Loading commit data...
ddraw.c Loading commit data...
ddraw.spec Loading commit data...
ddraw_classes.idl Loading commit data...
ddraw_private.h Loading commit data...
device.c Loading commit data...
executebuffer.c Loading commit data...
light.c Loading commit data...
main.c Loading commit data...
material.c Loading commit data...
palette.c Loading commit data...
surface.c Loading commit data...
utils.c Loading commit data...
version.rc Loading commit data...
vertexbuffer.c Loading commit data...
viewport.c Loading commit data...