zig 0.6.0 compatibility
This commit is contained in:
parent
c20de22174
commit
a7fa7755de
10 changed files with 35 additions and 35 deletions
|
|
@ -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();
|
||||
//----------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue