app,gpu: move errDeviceLost from package app to package gpu

The Vulkan backend can return device lost error from more than just
Present.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-09-20 11:48:17 +02:00
parent b5e3756ee8
commit bdd0893dd0
5 changed files with 9 additions and 8 deletions
-5
View File
@@ -113,11 +113,6 @@ type context interface {
Unlock()
}
// errDeviceLost is returned from Context.Present when
// the underlying GPU device is gone and should be
// recreated.
var errDeviceLost = errors.New("GPU device lost")
// Driver is the interface for the platform implementation
// of a window.
type driver interface {