8000 fixing the issue in the image_loading.py Fixed #89 · sDos280/raylib-python-cffi@8eb8a38 · GitHub
[go: up one dir, main page]

< 65E1 div class="position-relative header-wrapper js-header-wrapper "> Skip to content

Commit 8eb8a38

Browse files
committed
fixing the issue in the image_loading.py Fixed electronstudio#89
1 parent 9f11c90 commit 8eb8a38

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/textures/image_loading.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55

66
InitWindow(screenWidth, screenHeight, b"raylib [textures] example - image loading")
77

8-
9-
10-
image = LoadImage(b"resources/raylib_logo.jpg")
8+
image = LoadImage(b"resources/raylib_logo.png")
119
texture = LoadTextureFromImage(image)
1210

1311
UnloadImage(image)
@@ -24,8 +22,6 @@
2422

2523
EndDrawing()
2624

25+
UnloadTexture(texture)
2726

28-
29-
30-
UnloadTexture(texture)
3127
CloseWindow()

0 commit comments

Comments
 (0)
0