zig 0.6.0 compatibility

This commit is contained in:
sacredbirdman 2020-04-27 20:43:42 +03:00
parent c20de22174
commit a7fa7755de
10 changed files with 35 additions and 35 deletions

View file

@ -14,7 +14,7 @@ pub fn main() anyerror!void
const screenWidth = 800;
const screenHeight = 450;
InitWindow(screenWidth, screenHeight, c"MyWindow");
InitWindow(screenWidth, screenHeight, "MyWindow");
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
@ -28,7 +28,7 @@ pub fn main() anyerror!void
ClearBackground(WHITE);
DrawText(c"Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
EndDrawing();
//----------------------------------------------------------------------------------