app/headless: remove unusued parameters to newContext

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-23 09:47:54 +01:00
parent dfc1503c00
commit 2df50dda8e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ type backend interface {
// NewWindow creates a new headless window.
func NewWindow(width, height int) (*Window, error) {
ctx, err := newContext(width, height)
ctx, err := newContext()
if err != nil {
return nil, err
}
+1 -1
View File
@@ -2,6 +2,6 @@
package headless
func newContext(width, height int) (backend, error) {
func newContext() (backend, error) {
return newGLContext()
}