mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
GL: Allow differentiation of error messages
In the absence of stack traces, these 2 messages were hard to differentiate before this CL. PiperOrigin-RevId: 544368823
This commit is contained in:
parent
f60f79bb10
commit
4e4045b98e
1 changed files with 2 additions and 2 deletions
|
|
@ -770,7 +770,7 @@ public final class GlUtil {
|
|||
surface,
|
||||
windowAttributes,
|
||||
/* offset= */ 0);
|
||||
checkEglException("Error creating surface");
|
||||
checkEglException("Error creating a new EGL surface");
|
||||
return eglSurface;
|
||||
}
|
||||
|
||||
|
|
@ -783,7 +783,7 @@ public final class GlUtil {
|
|||
getEglConfig(eglDisplay, configAttributes),
|
||||
pbufferAttributes,
|
||||
/* offset= */ 0);
|
||||
checkEglException("Error creating surface");
|
||||
checkEglException("Error creating a new EGL Pbuffer surface");
|
||||
return eglSurface;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue