TraceTest: Route eglGetError through WGL

eglGetError is not implemented, but shouldn't crash on Windows.

Bug: angleproject:7799
Change-Id: I61158ab21b86539020b5d492486333a56908ab69
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3995984
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Cody Northrop
2022-10-31 17:11:45 -06:00
committed by Angle LUCI CQ
parent f3e047b5d7
commit bae82cfae3
5 changed files with 28 additions and 0 deletions

View File

@@ -782,6 +782,11 @@ EGLBoolean EGLWindow::destroyImageKHR(Image image)
return eglDestroyImageKHR(getDisplay(), image);
}
EGLint EGLWindow::getEGLError()
{
return eglGetError();
}
GLWindowBase::Surface EGLWindow::createPbufferSurface(const EGLint *attrib_list)
{
return eglCreatePbufferSurface(getDisplay(), getConfig(), attrib_list);