Update versions and fix window variable name - fixes #107

This commit is contained in:
Rob Loach
2021-01-18 18:53:38 -05:00
parent 03d170de69
commit 09a12ff587
29 changed files with 96 additions and 77 deletions

View File

@@ -17,7 +17,7 @@ int main() {
const int screenWidth = 800;
const int screenHeight = 450;
raylib::Window w(screenWidth, screenHeight, "raylib [core] example - generate random values");
raylib::Window window(screenWidth, screenHeight, "raylib [core] example - generate random values");
int framesCounter = 0; // Variable used to count frames
@@ -27,7 +27,7 @@ int main() {
//--------------------------------------------------------------------------------------
// Main game loop
while (!w.ShouldClose()) // Detect window close button or ESC key
while (!window.ShouldClose()) // Detect window close button or ESC key
{
// Update
//----------------------------------------------------------------------------------