fixing a int->float warning for MSVC

This commit is contained in:
manuelk 2013-01-24 14:16:45 -08:00
parent c912a284a8
commit 48ba78d848

View File

@ -237,7 +237,7 @@ GLhud::Flush()
glUseProgram(_program);
float proj[16];
ortho(proj, 0, 0, GetWidth(), GetHeight());
ortho(proj, 0, 0, float(GetWidth()), float(GetHeight()));
glUniformMatrix4fv(_mvpMatrix, 1, GL_FALSE, proj);
{