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

@@ -397,6 +397,11 @@ EGLBoolean WGLWindow::destroyImageKHR(Image image)
return EGL_FALSE;
}
EGLint WGLWindow::getEGLError()
{
return EGL_SUCCESS;
}
WGLWindow::Surface WGLWindow::createPbufferSurface(const EGLint *attrib_list)
{
std::cerr << "WGLWindow::createPbufferSurface not implemented.\n";