mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 16:29:16 +01:00
23 lines
391 B
C
23 lines
391 B
C
|
#pragma once
|
||
|
|
||
|
#include "../../vulkan/vulkan_loader.h"
|
||
|
#include <GLFW/glfw3.h>
|
||
|
|
||
|
#include "../wsi_monitor.h"
|
||
|
|
||
|
namespace dxvk::wsi {
|
||
|
|
||
|
/**
|
||
|
* \brief Impl-dependent state
|
||
|
*/
|
||
|
struct DxvkWindowState {
|
||
|
};
|
||
|
|
||
|
inline bool isDisplayValid(int32_t displayId) {
|
||
|
int32_t displayCount = 0;
|
||
|
glfwGetMonitors(&displayCount);
|
||
|
|
||
|
return displayId < displayCount && displayId >= 0;
|
||
|
}
|
||
|
|
||
|
}
|