fna-workbench

fna-workbench Commit Details


Date:2016-02-01 23:14:49 (9 years 7 months ago)
Author:Ethan Lee
Branch:master
Commit:bf6f5381e8f1edd9cde3cc0dfa304159e7d5fb4b
Parents: dc0852c18884b7affe048483e730b711205074ff
Message:ApplyChanges OnPreparingDeviceSettings accuracy

Changes:

File differences

src/GraphicsDeviceManager.cs
224224
225225
226226
227
228
229
230
231227
232228
233
234
229
235230
236231
237232
......
261256
262257
263258
259
260
261
262
263
264
264265
265266
266267
gdi.Adapter = GraphicsDevice.Adapter;
gdi.GraphicsProfile = GraphicsDevice.GraphicsProfile;
gdi.PresentationParameters = GraphicsDevice.PresentationParameters.Clone();
OnPreparingDeviceSettings(
this,
new PreparingDeviceSettingsEventArgs(gdi)
);
/* Apply the GraphicsDevice changes to the new Parameters.
* FIXME: Do we care about what OnPreparingDeviceSettings says about
* any of the data we're overwriting here?
* Note that PreparingDeviceSettings can override any of these!
* -flibit
*/
gdi.PresentationParameters.BackBufferFormat =
);
}
// Give the user a chance to override the above settings.
OnPreparingDeviceSettings(
this,
new PreparingDeviceSettingsEventArgs(gdi)
);
// We're about to reset a device, notify the application.
OnDeviceResetting(this, EventArgs.Empty);

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.59335s using 13 queries.