diff options
author | lawl <github@dumbinter.net> | 2022-01-06 10:44:13 +0200 |
---|---|---|
committer | lawl <github@dumbinter.net> | 2022-01-06 16:04:34 +0530 |
commit | 8c34658b64f1efeab501bef57d2bfa9579fe34e2 (patch) | |
tree | 3fef93871214bc85c89ffcd04c6782c8aa3862ce /vendor/gioui.org/gpu/gl/types_js.go | |
parent | 38787e4195f2a34d7ec4421caf17cb99bc31fa2b (diff) | |
download | noisetorch-8c34658b64f1efeab501bef57d2bfa9579fe34e2.tar.gz noisetorch-8c34658b64f1efeab501bef57d2bfa9579fe34e2.zip |
Chore: Upgrade nucular GUI dependency
Diffstat (limited to 'vendor/gioui.org/gpu/gl/types_js.go')
-rw-r--r-- | vendor/gioui.org/gpu/gl/types_js.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/gioui.org/gpu/gl/types_js.go b/vendor/gioui.org/gpu/gl/types_js.go deleted file mode 100644 index 16e3a71..0000000 --- a/vendor/gioui.org/gpu/gl/types_js.go +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Unlicense OR MIT - -package gl - -import "syscall/js" - -type ( - Buffer js.Value - Framebuffer js.Value - Program js.Value - Renderbuffer js.Value - Shader js.Value - Texture js.Value - Query js.Value - Uniform js.Value - Object js.Value -) - -func (p Program) valid() bool { - return !js.Value(p).IsUndefined() && !js.Value(p).IsNull() -} - -func (s Shader) valid() bool { - return !js.Value(s).IsUndefined() && !js.Value(s).IsNull() -} - -func (u Uniform) valid() bool { - return !js.Value(u).IsUndefined() && !js.Value(u).IsNull() -} |