diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-01 14:23:02 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-01 14:23:02 +0200 |
| commit | beb5515757c0e653adc33f181184fe3791ca0a6b (patch) | |
| tree | 68f123f602795a31a8811bd56e3b3271c102a3fa /internal_rewrite/directx.cpp | |
| parent | 0767d6d4acaf5f86a67a375dffa54da9323646e3 (diff) | |
dasdadasf
Diffstat (limited to 'internal_rewrite/directx.cpp')
| -rw-r--r-- | internal_rewrite/directx.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 ) {
|
