kwilcz / Antario

Clean base/cheat made for CS:GO.
MIT License
133 stars 34 forks source link

Nullptr error for fonts #106

Closed NaiJii closed 5 years ago

NaiJii commented 5 years ago

This line in Font.cpp : tx->LockRect(0, &lockRect, nullptr, D3DLOCK_DISCARD);

is nullptr, and it is also defined as a nullptr 2 lines above : IDirect3DTexture9* tx = nullptr;

Did I misunderstood something or is it a bug ?

Thanks in advance.

kwilcz commented 5 years ago

Literally 1 line below nullptr definitio, texture is created and initialized.