diff --git a/pixelgl/run.go b/pixelgl/run.go index 1c3a2d9..94e89c2 100644 --- a/pixelgl/run.go +++ b/pixelgl/run.go @@ -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. diff --git a/pixelgl/window.go b/pixelgl/window.go index 93aa2b2..943eb41 100644 --- a/pixelgl/window.go +++ b/pixelgl/window.go @@ -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() {