func ErrorDialog(format string, v ...interface{}) error {
	msg := fmt.Sprintf(format, v...)
	t := Title + " - Error"
	ct := C.CString(t)
	defer C.free(unsafe.Pointer(ct))
	cmsg := C.CString(msg)
	defer C.free(unsafe.Pointer(cmsg))
	errcode := C.SDL_ShowSimpleMessageBox(
		C.SDL_MESSAGEBOX_ERROR,
		ct,
		cmsg,
		Window.window,
	)
	if errcode != 0 {
		return GetSDLError()
	}
	return nil
}
//////////////////////////////////////////////////////////////////////////////
ErrorDialog displays a dialog box.
package internal
import (
	"errors"
	"fmt"
	"unsafe"
)
import "C"