mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user