mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 04:13:35 +00:00
Sync the barebone fix from Wine (wine-7.19-557-g13cc08e32d6): https://source.winehq.org/git/wine.git/?a=search&h=HEAD&st=grep&s=ddraw_surface_update_frontbuffer%28 and https://source.winehq.org/git/wine.git/blob/13cc08e32d6c04f8f915d07cda39638ee99c3d43:/dlls/ddraw/surface.c - Added "swap_interval" argument to ddraw_surface_update_frontbuffer() - Added ddraw_swap_interval_from_flags() function for dispatching the integer type of required swap interval - Updated ddraw_surface_update_frontbuffer() function for managing the swap interval between backbuffer and frontbuffer (and relative flipping) - Updated the ddraw_surface7_Flip() function for relaying the swap interval to ddraw_surface_update_frontbuffer() function. - Added 0 value (as Wine) when the swap interval is not required This fixes empty white screen issue on rendering because of lacking swap interval for the software / games that use ddraw. CORE-18547
This is Wine DirectX support. It works in Reactos and Windows. When ReactOS own ReactX are in-place this file will be removed from our SVN for now they stay as temporary solutions. People that have helped getting this thing to work in ReactOS building system: Roderick Colenbrander - thunderbird2k at gmx dot net The informations how to build it and done the Windows port in Wine (Wine devloper). Magnus Olsen aka GreatLord Did import it to ReactOS and setup the build. GedMurphy Did help with minor issue, info how to make DllMain being called.