filterFallback method

dynamic filterFallback(
  1. int f
)

Implementation

filterFallback(int f) {
  if (f == NearestFilter ||
      f == NearestMipmapNearestFilter ||
      f == NearestMipmapLinearFilter) {
    return gl.NEAREST;
  }

  return gl.LINEAR;
}