Merge "Validate glClear mask" into studio-1.0-dev