<commit_before>// +build !android

package gozmo

import (
	"github.com/go-gl/glfw/v3.1/glfw"
	"log"
	"runtime"
)

type Window struct {
	width        int32
	height       int32
	title        string
	glfwWindow   *glfw.Window
	scenes       map[string]*Scene
	currentScene *Scene
}

func OpenWindowVersion(width int32, height int32, title string, major int, minor int) *Window {
	runtime.LockOSThread()<commit_msg>no need to make a reference to window in scene<commit_after>// +build !android

package gozmo

import (
	"github.com/go-gl/glfw/v3.1/glfw"
	"log"
	"runtime"
)

type Window struct {
	width        int32
	height       int32
	title        string
	glfwWindow   *glfw.Window
	scenes       map[string]*Scene
	currentScene *Scene
}

func OpenWindowVersion(width int32, height int32, title string, major int, minor int) *Window {
	if Engine.Window != nil {
		panic("a window is already active")
	}
	runtime.LockOSThread()
{'fraction_non_alphanumeric': 0.09859154929577464, 'fraction_numerical': 0.021668472372697724, 'mean_word_length': 3.317757009345794, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6142211', 'n_tokens_mistral': 331, 'n_tokens_neox': 319, 'n_words': 90}