merge
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "resource.h"
|
||||
#include "mhmain.h"
|
||||
#include "mhmap.h"
|
||||
#include "win10.h"
|
||||
|
||||
/* Borland and MinGW redefine "boolean" in shlwapi.h,
|
||||
so just use the little bit we need */
|
||||
@@ -88,18 +89,18 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
|
||||
UNREFERENCED_PARAMETER(lpCmdLine);
|
||||
UNREFERENCED_PARAMETER(nCmdShow);
|
||||
|
||||
//
|
||||
/* We must initialize state sufficiently to support calls to panic */
|
||||
// We need to support DPI awareness.
|
||||
//
|
||||
// BOOL result = SetProcessDpiAwarenessContext(
|
||||
// DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
|
||||
//
|
||||
|
||||
/* We must initialize state sufficiently to support calls to panic */
|
||||
windowprocs.win_raw_print = mswin_raw_print;
|
||||
windowprocs.win_raw_print_bold = mswin_raw_print_bold;
|
||||
windowprocs.win_wait_synch = mswin_wait_synch;
|
||||
|
||||
win10_init();
|
||||
|
||||
sys_early_init();
|
||||
|
||||
/* init applicatio structure */
|
||||
|
||||
Reference in New Issue
Block a user