Previous 15994 Revisions Next

r2608 Monday 12th May, 2008 at 10:21:21 UTC by Nathan Woods
Fixed performance problems with -triplebuffer. (bug #1539) [Justin Kerk]
[docs]messnew.txt
[src/osd/windows]drawd3d.c

src/osd/windows/drawd3d.c
r2607r2608
735735   d3d->presentation.MultiSampleType            = D3DMULTISAMPLE_NONE;
736736   d3d->presentation.SwapEffect               = D3DSWAPEFFECT_DISCARD;
737737   d3d->presentation.hDeviceWindow               = window->hwnd;
738   d3d->presentation.Windowed                  = !window->fullscreen || HAS_WINDOW_MENU;
738   d3d->presentation.Windowed                  = !window->fullscreen || win_has_menu(window);
739739   d3d->presentation.EnableAutoDepthStencil      = FALSE;
740740   d3d->presentation.AutoDepthStencilFormat      = D3DFMT_D16;
741741   d3d->presentation.Flags                     = 0;
r2607r2608
11471147   }
11481148
11491149   // choose a resolution: window mode case
1150   if (!window->fullscreen || !video_config.switchres || HAS_WINDOW_MENU)
1150   if (!window->fullscreen || !video_config.switchres || win_has_menu(window))
11511151   {
11521152      RECT client;
11531153
docs/messnew.txt
r2607r2608
5858
5959Source Changes:
6060----------------
61(none)
61- Fixed performance problems with -triplebuffer.  (bug #1539) [Justin Kerk]
6262
6363
6464

Previous 15994 Revisions Next


© 1998-2018 The MESS Team