dxgi: Avoid LPCSTR.
This commit is contained in:
parent
dbdde3bd4b
commit
e032d013d7
|
@ -131,8 +131,7 @@ static HRESULT register_d3d10core_layers(HMODULE d3d10core)
|
||||||
HMODULE mod;
|
HMODULE mod;
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
|
||||||
ret = GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (LPCSTR)d3d10core, &mod);
|
if (!(ret = GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (const char *)d3d10core, &mod)))
|
||||||
if (!ret)
|
|
||||||
{
|
{
|
||||||
LeaveCriticalSection(&dxgi_cs);
|
LeaveCriticalSection(&dxgi_cs);
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
Loading…
Reference in New Issue