nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/glesv2: intro glIsTexture and glBindTexture
[nit.git]
/
lib
/
glesv2
/
glesv2.nit
diff --git
a/lib/glesv2/glesv2.nit
b/lib/glesv2/glesv2.nit
index
9203efd
..
3dbc72b
100644
(file)
--- a/
lib/glesv2/glesv2.nit
+++ b/
lib/glesv2/glesv2.nit
@@
-406,6
+406,12
@@
do
end
end
end
end
+# Does `name` corresponds to a texture?
+fun glIsTexture(name: Int): Bool `{ return glIsTexture(name); `}
+
+# Bind the named `texture` to a `target`
+fun glBindTexture(target: GLTextureTarget, texture: Int) `{ glBindTexture(target, texture); `}
+
# Texture minifying and magnifying function
extern class GLTextureFilter
super GLEnum
# Texture minifying and magnifying function
extern class GLTextureFilter
super GLEnum