app/internal/gpu: rename NewGPU to New

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-28 12:18:35 +01:00
parent eb8745eb32
commit 9528a6e0d4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ func (w *Window) run(opts *window.Options) {
var ctx gl.Context
ctx, err = w.driver.NewContext()
if err == nil {
w.gpu, err = gpu.NewGPU(ctx)
w.gpu, err = gpu.New(ctx)
}
}
var frame *op.Ops