mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-30 23:30:07 +00:00
fixing a int->float warning for MSVC
This commit is contained in:
parent
c912a284a8
commit
48ba78d848
@ -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);
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user