GlUtil.java
25.3 KB
-
Combine all native GL errors in a GlException instead of logging. · 0a42c702
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 (cherry picked from commit d6a6b447)
hschlueter committed