bindTexture method
Implementation
void bindTexture(int target, WebGLTexture? texture) {
startCheck("bindTexture");
if(texture == null) return;
glBindTexture(_gl, target, texture.id);
checkError('bindTexture');
}
void bindTexture(int target, WebGLTexture? texture) {
startCheck("bindTexture");
if(texture == null) return;
glBindTexture(_gl, target, texture.id);
checkError('bindTexture');
}