Fix segault in textures_image_loading (#190)
This commit is contained in:
parent
41022159ad
commit
cb9fb452c6
1 changed files with 1 additions and 1 deletions
|
|
@ -33,8 +33,8 @@ pub fn main() anyerror!void {
|
||||||
|
|
||||||
// De-Initialization
|
// De-Initialization
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
defer rl.unloadTexture(texture); // Texture unloading
|
|
||||||
defer rl.closeWindow(); // Close window and OpenGL context
|
defer rl.closeWindow(); // Close window and OpenGL context
|
||||||
|
defer rl.unloadTexture(texture); // Texture unloading
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
rl.setTargetFPS(60); // Set our game to run at 60 frames-per-second
|
rl.setTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue