mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Renammed hook_<renderer> to start_hook
This commit is contained in:
parent
2fe5e90294
commit
4d3c355fcc
10 changed files with 13 additions and 13 deletions
|
|
@ -18,7 +18,7 @@ static DX9_Hook* hook;
|
|||
///////// /////////
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
void DX9_Hook::hook_dx9(UINT SDKVersion)
|
||||
void DX9_Hook::start_hook()
|
||||
{
|
||||
if (!_hooked)
|
||||
{
|
||||
|
|
@ -28,7 +28,7 @@ void DX9_Hook::hook_dx9(UINT SDKVersion)
|
|||
IDirect3D9Ex* pD3D;
|
||||
IDirect3DDevice9Ex* pDeviceEx;
|
||||
|
||||
Direct3DCreate9Ex(SDKVersion, &pD3D);
|
||||
Direct3DCreate9Ex(D3D_SDK_VERSION, &pD3D);
|
||||
|
||||
D3DPRESENT_PARAMETERS params = {};
|
||||
params.BackBufferWidth = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue