refactor ImGUI code files
This commit is contained in:
@@ -28,7 +28,7 @@ func Text(format string, a ...interface{}) {
|
||||
// returns true.
|
||||
func Begin(id string, open *bool, flags imgui.WindowFlags) bool {
|
||||
// skip if the window is not open
|
||||
if !(*open) {
|
||||
if open != nil && !(*open) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user