fix two misspells
This commit is contained in:
parent
04d6e176ff
commit
8625586bee
|
@ -6,9 +6,9 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// Run is essentialy the main function of PixelGL. It exists mainly due to the technical limitations
|
||||
// of OpenGL and operating systems. In short, all graphics and window manipulating calls must be
|
||||
// done from the main thread. Run makes this possible.
|
||||
// Run is essentially the main function of PixelGL. It exists mainly due to the technical
|
||||
// limitations of OpenGL and operating systems. In short, all graphics and window manipulating calls
|
||||
// must be done from the main thread. Run makes this possible.
|
||||
//
|
||||
// Call this function from the main function of your application. This is necessary, so that Run
|
||||
// runs on the main thread.
|
||||
|
|
|
@ -181,7 +181,7 @@ func (w *Window) Update() {
|
|||
|
||||
// SetClosed sets the closed flag of the Window.
|
||||
//
|
||||
// This is usefull when overriding the user's attempt to close the Window, or just to close the
|
||||
// This is useful when overriding the user's attempt to close the Window, or just to close the
|
||||
// Window from within the program.
|
||||
func (w *Window) SetClosed(closed bool) {
|
||||
mainthread.Call(func() {
|
||||
|
|
Loading…
Reference in New Issue