bindBuffer method

dynamic bindBuffer(
  1. int target,
  2. Buffer buffer
)

Implementation

bindBuffer(int target, Buffer buffer) {
  // added the correct type on the second param, replace dynamic with Buffer.
  return gl.glBindBuffer(target, buffer.bufferId);
}