Duckstation/src/duckstation-sdl/sdl_util.h
2020-07-01 01:57:25 +10:00

11 lines
251 B
C++

#pragma once
#include "common/types.h"
#include "common/window_info.h"
#include <optional>
struct SDL_Window;
namespace SDLUtil {
std::optional<WindowInfo> GetWindowInfoForSDLWindow(SDL_Window* window);
float GetDPIScaleFactor(SDL_Window* window);
}