deleteTexture method
Implementation
void deleteTexture(WebGLTexture texture){
startCheck('deleteTexture');
final List<int> _texturesList = [texture.id];
final ptr = calloc<Uint32>(_texturesList.length);
ptr.asTypedList(1).setAll(0, _texturesList);
gl.glDeleteTextures(1, ptr);
calloc.free(ptr);
checkError('deleteTexture');
}