changeBack method

  1. @override
void changeBack(
  1. int width,
  2. int height
)
override

Changes the backbuffer size (and viewport size if no target is bound).

Implementation

@override
void changeBack(int width, int height) {
  if (!hasTargetBound) {
    _context.viewport(0, 0, width, height);
  }

  super.changeBack(width, height);
}