summaryrefslogtreecommitdiff
path: root/src/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32.c')
-rw-r--r--src/win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/win32.c b/src/win32.c
index 7685fcac..36043b53 100644
--- a/src/win32.c
+++ b/src/win32.c
@@ -26,6 +26,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
26#define WIN32_LEAN_AND_MEAN 26#define WIN32_LEAN_AND_MEAN
27#include <Windows.h> 27#include <Windows.h>
28 28
29void setDPIAware_Win32(void) {
30 SetProcessDPIAware();
31}
32
29void useExecutableIconResource_SDLWindow(SDL_Window *win) { 33void useExecutableIconResource_SDLWindow(SDL_Window *win) {
30 HINSTANCE handle = GetModuleHandle(NULL); 34 HINSTANCE handle = GetModuleHandle(NULL);
31 HICON icon = LoadIcon(handle, "IDI_ICON1"); 35 HICON icon = LoadIcon(handle, "IDI_ICON1");