mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Comentários e remove Windows em GraphicsDEviceInformation
This commit is contained in:
parent
7b7fcddc4e
commit
0dd43eb377
@ -14,8 +14,7 @@ namespace xna {
|
||||
parameters->BackBufferHeight = backBufferHeight;
|
||||
parameters->BackBufferFormat = SurfaceFormat::Color;
|
||||
parameters->IsFullscreen = false;
|
||||
information.PresentParameters = parameters;
|
||||
information.Window = game->Window();
|
||||
information.PresentParameters = parameters;
|
||||
}
|
||||
|
||||
void GraphicsDeviceManager::ApplyChanges() {
|
||||
|
@ -4,15 +4,18 @@
|
||||
#include "../default.hpp"
|
||||
|
||||
namespace xna {
|
||||
//Holds the settings for creating a graphics device on Windows.
|
||||
struct GraphicsDeviceInformation {
|
||||
GraphicsDeviceInformation() {
|
||||
PresentParameters = snew<PresentationParameters>();
|
||||
}
|
||||
|
||||
//Specifies which graphics adapter to create the device on.
|
||||
sptr<GraphicsAdapter> Adapter = nullptr;
|
||||
//Gets the graphics profile, which determines the graphics feature set.
|
||||
xna::GraphicsProfile Profile{ xna::GraphicsProfile::Reach };
|
||||
//Specifies the presentation parameters to use when creating a graphics device.
|
||||
sptr<xna::PresentationParameters> PresentParameters = nullptr;
|
||||
sptr<GameWindow> Window = nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user