by phantombeta » Fri Oct 16, 2020 4:20 pm
Exactly what it says in the thread title. Couldn't fit the commit in the title, but it's
e636c80. I've tested this both with the CI artifacts and a self-compiled build, with the same result.
VM abort message:
Code: Select all
VM execution aborted: Attempt to draw to screen outside a draw function
Called from MenuDelegateBase.DrawCaption at gzdoom.pk3:zscript/ui/menu/menucustomize.zs, line 7
Called from OptionMenu.DrawCaption at gzdoom.pk3:zscript/ui/menu/optionmenu.zs, line 436
Called from OptionMenu.MenuEvent at gzdoom.pk3:zscript/ui/menu/optionmenu.zs, line 242
Called from Screen.DrawText [Native]
Steps to reproduce:
- Literally just press the up key on the very first item in any options menu. You'll instantly be sent to the console by the VM abort.
Exactly what it says in the thread title. Couldn't fit the commit in the title, but it's [url=https://github.com/coelckers/gzdoom/commit/e636c8044d1adc71c096fd093e0af431e384e458]e636c80[/url]. I've tested this both with the CI artifacts and a self-compiled build, with the same result.
VM abort message:
[code]
VM execution aborted: Attempt to draw to screen outside a draw function
Called from MenuDelegateBase.DrawCaption at gzdoom.pk3:zscript/ui/menu/menucustomize.zs, line 7
Called from OptionMenu.DrawCaption at gzdoom.pk3:zscript/ui/menu/optionmenu.zs, line 436
Called from OptionMenu.MenuEvent at gzdoom.pk3:zscript/ui/menu/optionmenu.zs, line 242
Called from Screen.DrawText [Native][/code]
Steps to reproduce:
[list]
[*]Literally just press the up key on the very first item in any options menu. You'll instantly be sent to the console by the VM abort.[/list]