fixing the issue in the image_loading.py Fixed #89

This commit is contained in:
דור שפירא 2022-09-23 16:46:07 +03:00
parent 9f11c90e29
commit 8eb8a386fd

View file

@ -5,9 +5,7 @@ screenHeight = 450
InitWindow(screenWidth, screenHeight, b"raylib [textures] example - image loading")
image = LoadImage(b"resources/raylib_logo.jpg")
image = LoadImage(b"resources/raylib_logo.png")
texture = LoadTextureFromImage(image)
UnloadImage(image)
@ -24,8 +22,6 @@ while not WindowShouldClose():
EndDrawing()
UnloadTexture(texture)
UnloadTexture(texture)
CloseWindow()