mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
gpu: remove Backend.NilTexture
It serves no purpose other than paranoia. Perhaps buggy drivers exists that require unused texture slots cleared before drawing to a texture, but if so the workaround belongs in the GL backend. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -20,7 +20,6 @@ type Backend interface {
|
||||
IsTimeContinuous() bool
|
||||
NewTexture(format TextureFormat, width, height int, minFilter, magFilter TextureFilter) Texture
|
||||
DefaultFramebuffer() Framebuffer
|
||||
NilTexture() Texture
|
||||
NewFramebuffer() Framebuffer
|
||||
NewImmutableBuffer(typ BufferType, data []byte) Buffer
|
||||
NewBuffer(typ BufferType, size int) Buffer
|
||||
|
||||
Reference in New Issue
Block a user