Skip to content

Commit

Permalink
Reenable include afxres.h in winmain.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ruckertm committed Aug 27, 2023
1 parent 458aa35 commit 047e8fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hintview/Win64/winmain.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <windows.h> /* must include this before GL/gl.h */
#include <commctrl.h>
#include <wingdi.h>
//include <afxres.h>
#include <afxres.h>
#include <stdio.h>
#include <math.h>
#include "resource.h"
Expand Down Expand Up @@ -691,6 +691,7 @@ WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
#else
hlog=stderr;
#endif

SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_SYSTEM_AWARE);
if (!InitInstance (hCurrentInst)) return FALSE;
InitGLextensions();
Expand Down

0 comments on commit 047e8fc

Please sign in to comment.