Yue Posted September 23, 2021 Share Posted September 23, 2021 I am struggling to implement a correct screen resolution change without bugs. I am on the right track, learning as always something new in this process. But something here is not going right for me, I create a Gui and try to delete it and it crashes the application, any suggestions? myGUI = GUI:Create(Context:GetCurrent()) myGUI:Release() Quote Link to comment Share on other sites More sharing options...
reepblue Posted September 23, 2021 Share Posted September 23, 2021 I noticed this with my code. Any deletion of the gui crashes the app. This is why I just let the operating system clean up the pointers when the app terminates. 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Yue Posted September 23, 2021 Author Share Posted September 23, 2021 I have the mania of wanting to eliminate everything manually, and it is that in the change of resolution the context that also uses the GUI is eliminated. I suppose that nothing happens if I restart it again and it overwrites its new values in the memory. The thing is that I am following the path of many in learning Leadwerks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.