gpu/gl: remove unused methods and unexport internal

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-10 17:06:54 +01:00
parent adb950cbf3
commit 8b5e9af5f8
3 changed files with 9 additions and 25 deletions
+3 -11
View File
@@ -14,22 +14,14 @@ type (
Object struct{ V uint }
)
func (u Uniform) Valid() bool {
func (u Uniform) valid() bool {
return u.V != -1
}
func (p Program) Valid() bool {
func (p Program) valid() bool {
return p.V != 0
}
func (s Shader) Valid() bool {
func (s Shader) valid() bool {
return s.V != 0
}
func (t Texture) Valid() bool {
return t.V != 0
}
func (t Texture) Equal(t2 Texture) bool {
return t == t2
}