Remove seg faults (#87)

* Removed double OpenGl3Shutdown, leading to a segmentation fault in Main.hs.
* Changed nullPtr passing with Maybe to use DearImGui default arguments.
This commit is contained in:
jpwidera
2021-09-11 12:00:08 +02:00
committed by GitHub
parent cede825dff
commit 08b3139477
3 changed files with 20 additions and 14 deletions

View File

@ -38,8 +38,6 @@ main = do
tab2 <- newIORef True
loop w checked color slider r pos size' selected tab1 tab2
openGL3Shutdown
loop
:: Window