makeCurrent method

void makeCurrent(
  1. Pointer<Void> context
)

Implementation

void makeCurrent(Pointer<Void> context){
  final nativeCallResult = _libEGL!.makeCurrent(context.address) == 1;

  if (nativeCallResult) {
    return;
  }

  throw EglException('Failed to make current using context [$context].');
}