From 96015543206a120ac2fb0e05f0977ae7a9ea921a Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 29 Oct 2014 17:06:20 +0000 Subject: [PATCH] Fix MSVC warning in Polymer git-svn-id: https://svn.eduke32.com/eduke32@4701 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 139e0a52a..fede36f47 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -4891,7 +4891,7 @@ static int32_t polymer_bindmaterial(const _prmaterial *material, int16_t* l texunit++; - bglUniform1fARB(prprograms[programbits].uniform_shadeOffset, material->shadeoffset); + bglUniform1fARB(prprograms[programbits].uniform_shadeOffset, (GLfloat)material->shadeoffset); bglUniform1fARB(prprograms[programbits].uniform_visibility, globalvisibility/2048.0 * material->visibility); }