Fix fog shader compiling on some software renderers
This commit is contained in:
@@ -255,7 +255,7 @@ float calculateHeightFogDepth(float worldYPos)
|
||||
else
|
||||
{
|
||||
// shouldn't happen,
|
||||
return 0;
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user