| 923 | } |
| 924 | |
| 925 | EGLDisplay eglGetPlatformDisplayEXT(EGLenum platform, void *native_display, |
| 926 | const EGLint *attrib_list) |
| 927 | { |
| 928 | EGLAttrib attribs[MAX_ATTRIBS + 1]; |
| 929 | int j = 0; |
| 930 | |
| 931 | if(attrib_list) |
| 932 | { |
| 933 | for(int i = 0; attrib_list[i] != EGL_NONE && i < MAX_ATTRIBS; i += 2) |
| 934 | { |
| 935 | attribs[j++] = attrib_list[i]; attribs[j++] = attrib_list[i + 1]; |
| 936 | } |
| 937 | } |
| 938 | attribs[j] = EGL_NONE; |
| 939 | |
| 940 | return eglGetPlatformDisplay(platform, native_display, attribs); |
| 941 | } |
| 942 | |
| 943 | |
| 944 | EGLint eglGetError(void) |
nothing calls this directly
no test coverage detected