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,
|
surface,
|
||||||
windowAttributes,
|
windowAttributes,
|
||||||
/* offset= */ 0);
|
/* offset= */ 0);
|
||||||
checkEglException("Error creating surface");
|
checkEglException("Error creating a new EGL surface");
|
||||||
return eglSurface;
|
return eglSurface;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -783,7 +783,7 @@ public final class GlUtil {
|
|||||||
getEglConfig(eglDisplay, configAttributes),
|
getEglConfig(eglDisplay, configAttributes),
|
||||||
pbufferAttributes,
|
pbufferAttributes,
|
||||||
/* offset= */ 0);
|
/* offset= */ 0);
|
||||||
checkEglException("Error creating surface");
|
checkEglException("Error creating a new EGL Pbuffer surface");
|
||||||
return eglSurface;
|
return eglSurface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user