| Index: gpu/khronos_glcts_support/native/egl_native_windowless.cc
|
| diff --git a/gpu/khronos_glcts_support/native/egl_native_windowless.cc b/gpu/khronos_glcts_support/native/egl_native_windowless.cc
|
| index 6a59d4b03c3039ce70fa1c465909fa3e4991d527..0bed202b0a847846ee939d9d5b27e9d3aa25cd7c 100644
|
| --- a/gpu/khronos_glcts_support/native/egl_native_windowless.cc
|
| +++ b/gpu/khronos_glcts_support/native/egl_native_windowless.cc
|
| @@ -74,9 +74,9 @@
|
| int height,
|
| qpVisibility visibility) override {
|
| tcu::egl::Display& eglDisplay = dpy.getEglDisplay();
|
| - EGLDisplay display = eglDisplay.getEGLDisplay();
|
| - CommandBufferGLESSetNextCreateWindowSurfaceCreatesPBuffer(eglDisplay, width,
|
| - height);
|
| + egl::Display* display =
|
| + static_cast<egl::Display*>(eglDisplay.getEGLDisplay());
|
| + display->SetCreateOffscreen(width, height);
|
| return new Window(eglDisplay, config, attribList, width, height);
|
| }
|
| };
|
|
|