We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06464e5 commit f0a1597Copy full SHA for f0a1597
glad/generator/c/templates/egl.c
@@ -52,19 +52,6 @@ static int glad_egl_find_core_{{ api|lower }}(EGLDisplay display) {
52
if (display == NULL) {
53
display = EGL_NO_DISPLAY; /* this is usually NULL, better safe than sorry */
54
}
55
- if (display == EGL_NO_DISPLAY) {
56
- display = eglGetCurrentDisplay();
57
- }
58
-#ifdef EGL_VERSION_1_4
59
60
- display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
61
62
-#endif
63
-#ifndef EGL_VERSION_1_5
64
65
- return 0;
66
67
68
69
version = eglQueryString(display, EGL_VERSION);
70
(void) eglGetError();
0 commit comments