[PATCH 5/5] ddraw: Allow creating back buffer for DirectX 1 interfaces. (try 5, resend)

Stefan Dösinger stefandoesinger at gmx.at
Thu Aug 19 08:38:38 CDT 2010


Am 18.08.2010 um 22:01 schrieb Oldřich Jedlička:

> +    if(DDSD->ddsCaps.dwCaps & DDSCAPS_FRONTBUFFER) {
> +        WARN("Application tried to create an explicit front buffer\n");
>         LeaveCriticalSection(&ddraw_cs);
>         return DDERR_INVALIDCAPS;
>     }
This test seems redundant now. The ddraw1 thunk removes the flag, and all other thunks check for the frontbuffer flag on their own.




More information about the wine-devel mailing list