Skip to content

Commit fa5f325

Browse files
committed
Fix dynamic lights being always disabled
regression in 677656a
1 parent a1dfb70 commit fa5f325

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/engine/sys/sdl_glimp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,8 @@ static void GLimp_EnableAvailableFeatures()
26852685

26862686
if ( glConfig.realtimeLighting )
26872687
{
2688-
if ( workaround_glDriver_zhaoxin_disableRealtimeLighting.Get() )
2688+
if ( workaround_glDriver_zhaoxin_disableRealtimeLighting.Get()
2689+
&& glConfig.driverVendor == glDriverVendor_t::ZHAOXIN )
26892690
{
26902691
Log::Warn("Tiled dynamic light renderer disabled because of buggy Zhaoxin driver.");
26912692
glConfig.realtimeLighting = false;

0 commit comments

Comments
 (0)