zig 0.6.0 compatibility
This commit is contained in:
parent
c20de22174
commit
a7fa7755de
10 changed files with 35 additions and 35 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// basic_window
|
||||
// Zig version: 0.5.0
|
||||
// Zig version: 0.6.0
|
||||
// Author: Nikolas Wipper
|
||||
// Date: 2020-02-15
|
||||
//
|
||||
|
|
@ -14,7 +14,7 @@ pub fn main() anyerror!void
|
|||
const screenWidth = 800;
|
||||
const screenHeight = 450;
|
||||
|
||||
InitWindow(screenWidth, screenHeight, c"raylib-zig [core] example - basic window");
|
||||
InitWindow(screenWidth, screenHeight, "raylib-zig [core] example - basic window");
|
||||
|
||||
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
|
@ -33,7 +33,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();
|
||||
//----------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue