Fix some warnings in examples.

This commit is contained in:
Jeffery Myers 2021-03-22 12:17:55 -07:00
commit d0b693c931

View file

@ -58,8 +58,8 @@ int main(void)
position = GetMousePosition();
active = true;
position.x -= frameWidth/2;
position.y -= frameHeight/2;
position.x -= frameWidth/2.0f;
position.y -= frameHeight/2.0f;
PlaySound(fxBoom);
}
@ -89,8 +89,8 @@ int main(void)
}
}
frameRec.x = frameWidth*currentFrame;
frameRec.y = frameHeight*currentLine;
frameRec.x = (float)frameWidth*currentFrame;
frameRec.y = (float)frameHeight*currentLine;
//----------------------------------------------------------------------------------
// Draw