mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
progs/egl: Correctly check GL_OES_EGL_image.
The hack was added because GL_OES_EGL_image was not exported in the extension string.
This commit is contained in:
parent
2002e4d06e
commit
216c76c820
1 changed files with 0 additions and 1 deletions
|
|
@ -332,7 +332,6 @@ app_init_exts(struct app_data *data)
|
|||
}
|
||||
|
||||
exts = (const char *) glGetString(GL_EXTENSIONS);
|
||||
exts = "GL_OES_EGL_image"; /* XXX */
|
||||
data->glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)
|
||||
eglGetProcAddress("glEGLImageTargetTexture2DOES");
|
||||
if (!exts || !strstr(exts, "GL_OES_EGL_image") ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue