]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/misc.c
Add a function to calculate the normalmap from a regular texture.
[simgear.git] / simgear / nasal / misc.c
index 73bd19d2b01129c8afa9d074bbdecbd6d80d6ab2..acdca6a3e149a760c76f2b10988afabfc4d861a3 100644 (file)
@@ -135,6 +135,7 @@ naRef naNil()
 naRef naNum(double num)
 {
     naRef r;
+    r.ref.reftag = ~NASAL_REFTAG;
     r.num = num;
     return r;
 }