fixed typos (#8)

* fixed typos

fixed typing mistakes in 3 places.

* fixed typos

Fixed typos in words "back buffer" and "vsync".
This commit is contained in:
Sajidur Rahman
2024-11-15 22:55:50 +06:00
committed by GitHub
parent ebb45a6501
commit 2c5cb8bd0e

View File

@@ -30,7 +30,7 @@ For a C++ project simply rename the file to .cpp and re-run the build script
int main () int main ()
{ {
// Tell the window to use vysnc and work on high DPI displays // Tell the window to use vsync and work on high DPI displays
SetConfigFlags(FLAG_VSYNC_HINT | FLAG_WINDOW_HIGHDPI); SetConfigFlags(FLAG_VSYNC_HINT | FLAG_WINDOW_HIGHDPI);
// Create the window and OpenGL context // Create the window and OpenGL context
@@ -48,7 +48,7 @@ int main ()
// drawing // drawing
BeginDrawing(); BeginDrawing();
// Setup the backbuffer for drawing (clear color and depth buffers) // Setup the back buffer for drawing (clear color and depth buffers)
ClearBackground(BLACK); ClearBackground(BLACK);
// draw some text using the default font // draw some text using the default font
@@ -65,7 +65,7 @@ int main ()
// unload our texture so it can be cleaned up // unload our texture so it can be cleaned up
UnloadTexture(wabbit); UnloadTexture(wabbit);
// destory the window and cleanup the OpenGL context // destroy the window and cleanup the OpenGL context
CloseWindow(); CloseWindow();
return 0; return 0;
} }