This commit is contained in:
aap 2022-11-13 21:51:57 +01:00
parent f7e7841e1c
commit 0bc9c77c81
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ DrawDirectLight(void)
void
DrawCurrentLight(void)
{
rw::SetRenderState(rw::TEXTURERASTER, nil);
rw::SetRenderStatePtr(rw::TEXTURERASTER, nil);
rw::SetRenderState(rw::CULLMODE, rw::CULLBACK);
rw::SetRenderState(rw::ZTESTENABLE, 1);