ddraw: Ensure fullscreen size of fullscreen windows

Johan Gill johan.gill at gmail.com
Tue Jul 27 17:45:49 CDT 2010


On Tue, Jul 27, 2010 at 1:44 PM, Johan Gill <johan.gill at gmail.com> wrote:
> On Tue, Jul 27, 2010 at 12:22 PM, Stefan Dösinger
> <stefandoesinger at gmx.at> wrote:
>>
>> Usually wined3d does the window setup. I recommend to take a look at WineD3D's AcquireFocusWindow and SetDisplayMode
>>
>> The problem is somewhat more complicated though - there's swapchain_setup_fullscreen_window and swapchain_restore_fullscreen_window, but wined3ddevice::Setdisplaymode doesn't call the swapchain(because there may not be one if ddraw hasn't created the primary surface yet).
>>
>>
>
> I would say that we need to pull the WineD3DDevice into the game as
> soon as we go fullscreen then. I didn't look that closely on that code
> yet, but I guess it takes some changes there to have it fly without a
> surface.
>
> /Johan Gill
>

Hmm, I need to read up on the wined3d<->ddraw interaction a bit before
trying to say anything further. Anyway, I just submitted a patch with
just the new test case.

/Johan Gill



More information about the wine-devel mailing list