createShader method
Implementation
WebGLShader createShader(int type) {
startCheck('createShader');
final shader = gl.glCreateShader(type);
checkError('createShader');
return WebGLShader(shader);
}
WebGLShader createShader(int type) {
startCheck('createShader');
final shader = gl.glCreateShader(type);
checkError('createShader');
return WebGLShader(shader);
}