]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix another data loss type conversion
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Aug 2011 13:14:55 +0000 (13:14 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 30 Aug 2011 13:14:55 +0000 (13:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11313 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.h

index 755751b9187375a1e9e32b72ad41a4c0e868c493..64b4050817abd5ff3594fcac030f7d9de6319b67 100644 (file)
@@ -616,7 +616,7 @@ typedef struct texture_s
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
        float offsetscale;
-       unsigned char offsetbias;
+       float offsetbias;
 
        // gloss
        float specularscalemod;