summaryrefslogtreecommitdiff
path: root/tf2/on_screen_size_changed.cpp
blob: 580e2dbc13b6f045941b68457db20d7d500ba041 (plain)
1
2
3
4
5
6
7
8
9
#include "hooks.h"

void __fastcall hooks::on_screen_size_changed( void* ecx_, void* edx_, int old_w, int old_h ) {
	static auto old_fn = cl.m_surface->get_old_function< decltype( &hooks::on_screen_size_changed ) >( 116 );

	old_fn( ecx_, nullptr, old_w, old_h );

	g_fonts.initialize( );
}