From 0bc9c77c81d6fcf75211d27d4b42c7a73ed0eb32 Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 13 Nov 2022 21:51:57 +0100 Subject: [PATCH] tiny fix --- tools/lights/lights.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lights/lights.cpp b/tools/lights/lights.cpp index 78cdfc1..345df9f 100644 --- a/tools/lights/lights.cpp +++ b/tools/lights/lights.cpp @@ -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);