Fix MSVC warnings.
This commit is contained in:
parent
e1959a4e5c
commit
bd24074629
1 changed files with 72 additions and 68 deletions
|
|
@ -43,7 +43,7 @@ int main(void)
|
|||
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - hilbert curve");
|
||||
|
||||
int order = 2;
|
||||
float size = GetScreenHeight();
|
||||
float size = (float)GetScreenHeight();
|
||||
int strokeCount = 0;
|
||||
Vector2 *hilbertPath = LoadHilbertPath(order, size, &strokeCount);
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ int main(void)
|
|||
else counter = strokeCount;
|
||||
|
||||
prevOrder = order;
|
||||
prevSize = size;
|
||||
prevSize = (int)size;
|
||||
}
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue