1
0
Fork 0

Fix urban shader compile error. #elseif is an incorrect directive, #elif is the correct one. Thanks to colintoal for reporting.

This commit is contained in:
Gijs de Rooy 2013-06-08 13:05:37 +02:00
parent 088dd2988a
commit c53d5c12ba

View file

@ -89,9 +89,9 @@ void QDM(inout vec3 p, inout vec3 v)
//use additional convergence speed-up
#ifdef USE_QDM_ASCEND_INTERVAL
if(frac(level*0.5) > EPSILON)
level++;
#elseif USE_QDM_ASCEND_CONST
level++;
level++;
#elif USE_QDM_ASCEND_CONST
level++;
#endif
}
p2 = p + v * d;