Combine all native GL errors in a GlException instead of logging.
The native GL errors are in an arbitrary order according to https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glGetError.xml This means any of them could contain the most useful message so it's better to use all for the GlException's message rather than picking the last message and logging all others. PiperOrigin-RevId: 454130460
Showing
with
11 additions
and
7 deletions
Please
register
or
sign in
to comment