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
@ -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…
x
Reference in New Issue
Block a user