mirror of
https://github.com/mborgerson/xemu.git
synced 2025-10-29 07:21:03 +00:00
nv2a: Fix assert when setting fog gen mode to fog_x
This commit is contained in:
parent
f82c6865fc
commit
ebec5e3028
@ -414,7 +414,7 @@ GLSL_DEFINE(materialEmissionColor, GLSL_LTCTXA(NV_IGRAPH_XF_LTCTXA_CM_COL) ".xyz
|
||||
mstring_append(body, " float fogDistance = fogCoord;\n");
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
assert(!"Invalid foggen mode");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@ -55,8 +55,6 @@ enum VshFoggen {
|
||||
FOGGEN_RADIAL,
|
||||
FOGGEN_PLANAR,
|
||||
FOGGEN_ABS_PLANAR,
|
||||
FOGGEN_ERROR4,
|
||||
FOGGEN_ERROR5,
|
||||
FOGGEN_FOG_X
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user