diff options
Diffstat (limited to 'vendor/gioui.org/gpu/gl/types.go')
-rw-r--r-- | vendor/gioui.org/gpu/gl/types.go | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/vendor/gioui.org/gpu/gl/types.go b/vendor/gioui.org/gpu/gl/types.go deleted file mode 100644 index f986bba..0000000 --- a/vendor/gioui.org/gpu/gl/types.go +++ /dev/null @@ -1,27 +0,0 @@ -// +build !js - -package gl - -type ( - Buffer struct{ V uint } - Framebuffer struct{ V uint } - Program struct{ V uint } - Renderbuffer struct{ V uint } - Shader struct{ V uint } - Texture struct{ V uint } - Query struct{ V uint } - Uniform struct{ V int } - Object struct{ V uint } -) - -func (u Uniform) valid() bool { - return u.V != -1 -} - -func (p Program) valid() bool { - return p.V != 0 -} - -func (s Shader) valid() bool { - return s.V != 0 -} |