Small mistake. Didn't maintain the texture pointer in the sprite so it could go out of scope and crash with use after free.

This commit is contained in:
Zed A. Shaw 2026-03-11 07:39:50 -04:00
parent 516f20124f
commit e88179b788
3 changed files with 8 additions and 3 deletions

View file

@ -10,7 +10,9 @@ project('lel-guecs', 'cpp',
])
# use this for common options only for our executables
cpp_args=[]
cpp_args=[
'-Wno-deprecated-declarations'
]
link_args=[]
# these are passed as override_defaults
exe_defaults = [ 'warning_level=2' ]