Closed joelcnz closed 9 months ago
[update] just the sound has an error, the allocated textures are fine.
Program with code using link just below:
Pic Bounce - Google Drive link (anyone with the link can use it)
[...] snip
INFO: TEXTURE: [ID 4] Unloaded texture data from VRAM (GPU) INFO: TEXTURE: [ID 19] Unloaded texture data from VRAM (GPU) INFO: TEXTURE: [ID 17] Unloaded texture data from VRAM (GPU) INFO: TEXTURE: [ID 32] Unloaded texture data from VRAM (GPU) Unloaded sound INFO: TEXTURE: [ID 3] Unloaded texture data from VRAM (GPU) Unloaded Texture INFO: AUDIO: Device closed successfully INFO: TEXTURE: [ID 2] Unloaded texture data from VRAM (GPU) INFO: SHADER: [ID 3] Default shader unloaded successfully INFO: TEXTURE: [ID 1] Default texture unloaded successfully INFO: Window closed successfully picbounce(7106,0x7ff846658700) malloc: error for object 0x7fb333f22000: pointer being freed was not allocated picbounce(7106,0x7ff846658700) malloc: set a breakpoint in malloc_error_break to debug Error Program exited with code -6 joelchristensen@Joel-Computer PicBounce %
Oh, I see my sound struct object frees the memory automatically - without having to close it otherwise.
[update] just the sound has an error, the allocated textures are fine.
Program with code using link just below:
Pic Bounce - Google Drive link (anyone with the link can use it)
[...] snip
INFO: TEXTURE: [ID 4] Unloaded texture data from VRAM (GPU) INFO: TEXTURE: [ID 19] Unloaded texture data from VRAM (GPU) INFO: TEXTURE: [ID 17] Unloaded texture data from VRAM (GPU) INFO: TEXTURE: [ID 32] Unloaded texture data from VRAM (GPU) Unloaded sound INFO: TEXTURE: [ID 3] Unloaded texture data from VRAM (GPU) Unloaded Texture INFO: AUDIO: Device closed successfully INFO: TEXTURE: [ID 2] Unloaded texture data from VRAM (GPU) INFO: SHADER: [ID 3] Default shader unloaded successfully INFO: TEXTURE: [ID 1] Default texture unloaded successfully INFO: Window closed successfully picbounce(7106,0x7ff846658700) malloc: error for object 0x7fb333f22000: pointer being freed was not allocated picbounce(7106,0x7ff846658700) malloc: set a breakpoint in malloc_error_break to debug Error Program exited with code -6 joelchristensen@Joel-Computer PicBounce %