From 47ea109be0d73120ddfe6896494e1fce986515b3 Mon Sep 17 00:00:00 2001 From: Northstar Date: Wed, 13 Apr 2022 19:29:44 -0300 Subject: Format project --- NorthstarDedicatedTest/dedicatedmaterialsystem.cpp | 24 ++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'NorthstarDedicatedTest/dedicatedmaterialsystem.cpp') diff --git a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp index b3452fc8..f1a91e22 100644 --- a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp +++ b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp @@ -7,13 +7,29 @@ #include "NSMem.h" typedef HRESULT (*__stdcall D3D11CreateDeviceType)( - void* pAdapter, int DriverType, HMODULE Software, UINT Flags, int* pFeatureLevels, UINT FeatureLevels, UINT SDKVersion, void** ppDevice, - int* pFeatureLevel, void** ppImmediateContext); + void* pAdapter, + int DriverType, + HMODULE Software, + UINT Flags, + int* pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + void** ppDevice, + int* pFeatureLevel, + void** ppImmediateContext); D3D11CreateDeviceType D3D11CreateDevice; HRESULT __stdcall D3D11CreateDeviceHook( - void* pAdapter, int DriverType, HMODULE Software, UINT Flags, int* pFeatureLevels, UINT FeatureLevels, UINT SDKVersion, void** ppDevice, - int* pFeatureLevel, void** ppImmediateContext) + void* pAdapter, + int DriverType, + HMODULE Software, + UINT Flags, + int* pFeatureLevels, + UINT FeatureLevels, + UINT SDKVersion, + void** ppDevice, + int* pFeatureLevel, + void** ppImmediateContext) { // note: this is super duper temp pretty much just messing around with it // does run surprisingly well on dedi for a software driver tho if you ignore the +1gb ram usage at times, seems like dedi doesn't -- cgit v1.2.3