fix two misspells

This commit is contained in:
faiface 2017-03-16 00:45:04 +01:00
parent 04d6e176ff
commit 8625586bee
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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() {