mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
25 lines
549 B
C++
25 lines
549 B
C++
#include "gdevicemanager-dx.hpp"
|
|
#include "device-dx.hpp"
|
|
#include "game-dx.hpp"
|
|
#include "window-dx.hpp"
|
|
#include "gdeviceinfo-dx.hpp"
|
|
|
|
namespace xna {
|
|
void GraphicsDeviceManager::ApplyChanges() {
|
|
}
|
|
|
|
void GraphicsDeviceManager::ToggleFullScreen() {
|
|
}
|
|
|
|
void GraphicsDeviceManager::CreateDevice(GraphicsDeviceInformation const& info) {
|
|
_device = New<GraphicsDevice>();
|
|
|
|
auto window = _game->Window();
|
|
window->Size(_backBufferWidth, _backBufferHeight);
|
|
|
|
_device->Initialize(*window);
|
|
}
|
|
|
|
void GraphicsDeviceManager::ChangeDevice() {
|
|
}
|
|
} |