This commit is contained in:
aap 2022-11-13 21:51:57 +01:00
parent f7e7841e1c
commit 0bc9c77c81

View File

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