| 595 | } |
| 596 | |
| 597 | EGLSurface eglCreatePlatformWindowSurfaceEXT(EGLDisplay display, |
| 598 | EGLConfig config, void *native_window, const EGLint *attrib_list) |
| 599 | { |
| 600 | if(!native_window) |
| 601 | { |
| 602 | faker::setEGLError(EGL_BAD_NATIVE_WINDOW); |
| 603 | return 0; |
| 604 | } |
| 605 | |
| 606 | NativeWindowType *native_window_ptr = (NativeWindowType *)native_window; |
| 607 | return eglCreateWindowSurface(display, config, *native_window_ptr, |
| 608 | attrib_list); |
| 609 | } |
| 610 | |
| 611 | |
| 612 | EGLBoolean eglDestroyContext(EGLDisplay display, EGLContext context) |
nothing calls this directly
no test coverage detected