• Henri Verbeet's avatar
    wined3d: Don't validate the frontbuffer's DRAWABLE location in… · da574ed9
    Henri Verbeet authored
    wined3d: Don't validate the frontbuffer's DRAWABLE location in wined3d_swapchain_resize_buffers() when NO3D is set.
    
    In general, NO3D surfaces are always in SYSMEM. More importantly though,
    validating DRAWABLE will evict SYSMEM, but a subsequent
    wined3d_texture_no3d_load_location() won't recreate it because it's always
    supposed to be current. This fixes a regression introduced by commit
    ebaa0a94, and exposed by running the ddraw
    tests with the "no3d" renderer.
    da574ed9
swapchain.c 88 KB