mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[wsi] Move DxvkWindowState to wsi platform header
This commit is contained in:
parent
efa6523e3e
commit
b875d49c85
16
src/wsi/win32/wsi_platform_win32.h
Normal file
16
src/wsi/win32/wsi_platform_win32.h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
namespace dxvk::wsi {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Impl-dependent state
|
||||||
|
*/
|
||||||
|
struct DxvkWindowState {
|
||||||
|
LONG style = 0;
|
||||||
|
LONG exstyle = 0;
|
||||||
|
RECT rect = { 0, 0, 0, 0 };
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
5
src/wsi/wsi_platform.h
Normal file
5
src/wsi/wsi_platform.h
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef DXVK_WSI_WIN32
|
||||||
|
#include "win32/wsi_platform_win32.h"
|
||||||
|
#endif
|
@ -3,22 +3,12 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#include "wsi_monitor.h"
|
#include "wsi_monitor.h"
|
||||||
|
#include "wsi_platform.h"
|
||||||
|
|
||||||
#include "../vulkan/vulkan_loader.h"
|
#include "../vulkan/vulkan_loader.h"
|
||||||
|
|
||||||
namespace dxvk::wsi {
|
namespace dxvk::wsi {
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Impl-dependent state
|
|
||||||
*/
|
|
||||||
struct DxvkWindowState {
|
|
||||||
#ifdef DXVK_WSI_WIN32
|
|
||||||
LONG style = 0;
|
|
||||||
LONG exstyle = 0;
|
|
||||||
RECT rect = { 0, 0, 0, 0 };
|
|
||||||
#endif
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief The size of the window
|
* \brief The size of the window
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user