Locking OS thread in init method.

This commit is contained in:
Sander Schobers 2018-02-17 15:01:58 +01:00
parent 9a2fa3ab81
commit 734d0db4b9

View File

@ -12,8 +12,13 @@ import "C"
import ( import (
"errors" "errors"
"runtime"
) )
func init() {
runtime.LockOSThread()
}
type InitConfig struct { type InitConfig struct {
Font bool Font bool
Image bool Image bool