From beb5515757c0e653adc33f181184fe3791ca0a6b Mon Sep 17 00:00:00 2001 From: navewindre Date: Sat, 1 Sep 2018 14:23:02 +0200 Subject: dasdadasf --- internal_rewrite/directx.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal_rewrite/directx.cpp') diff --git a/internal_rewrite/directx.cpp b/internal_rewrite/directx.cpp index 2175e46..be708b9 100644 --- a/internal_rewrite/directx.cpp +++ b/internal_rewrite/directx.cpp @@ -62,7 +62,8 @@ void on_d3d( IDirect3DDevice9* device ) { } long __stdcall hooks::d3d::draw( IDirect3DDevice9* device, D3DPRIMITIVETYPE type, int v_index, uint32_t min_index, uint32_t num_vert, uint32_t start_index, uint32_t prim_count ) { - static auto draw_o = g_csgo.m_d3d->get_old_function< decltype( &hooks::d3d::draw ) >( 82 ); + return 0; + /*static auto draw_o = g_csgo.m_d3d->get_old_function< decltype( &hooks::d3d::draw ) >( 82 ); static auto ret_addr = pattern::first_code_match( GetModuleHandleA( xors( "studiorender.dll" ) ), xors( "EB 1F FF 75 F0" ), -8 ); @@ -85,7 +86,7 @@ long __stdcall hooks::d3d::draw( IDirect3DDevice9* device, D3DPRIMITIVETYPE type } auto result = draw_o( device, type, v_index, min_index, num_vert, start_index, prim_count ); - return result; + return result;*/ } long __stdcall hooks::d3d::end_scene( IDirect3DDevice9* device ) { -- cgit v1.2.3