MCPcopy Create free account
hub / github.com/diasurgical/devilution / dx_init

Function dx_init

SourceX/dx.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void dx_init(HWND hWnd)
73{
74 SDL_RaiseWindow(window);
75 SDL_ShowWindow(window);
76
77 dx_create_primary_surface();
78 palette_init();
79 dx_create_back_buffer();
80}
81static void lock_buf_priv()
82{
83 sgMemCrit.Enter();

Callers 1

init_create_windowFunction · 0.85

Calls 5

SDL_RaiseWindowFunction · 0.85
SDL_ShowWindowFunction · 0.85
palette_initFunction · 0.85
dx_create_back_bufferFunction · 0.85

Tested by

no test coverage detected