Fixed VC++ warnings.

This commit is contained in:
Camilla Berglund
2014-08-15 12:53:47 +02:00
parent 8cd88ddf61
commit 839721b926
2 changed files with 5 additions and 5 deletions

View File

@@ -281,8 +281,8 @@ void mouse_button_callback( GLFWwindow* window, int button, int action, int mods
void cursor_position_callback( GLFWwindow* window, double x, double y )
{
cursor_x = x;
cursor_y = y;
cursor_x = (float) x;
cursor_y = (float) y;
if ( override_pos )
set_ball_pos(cursor_x, cursor_y);