hmmmm oops. re-enable bgra support.

SVN revision: 46577
This commit is contained in:
Carsten Haitzler 2010-02-27 10:34:19 +00:00
parent 6559804d43
commit 8c14ff2e76
1 changed files with 3 additions and 3 deletions

View File

@ -334,9 +334,9 @@ evas_gl_common_context_new(void)
&(shared->info.anisotropic));
#endif
#ifdef GL_BGRA
// if ((strstr((char*) ext, "GL_EXT_bgra")) ||
// (strstr((char*) ext, "GL_EXT_texture_format_BGRA8888")))
// shared->info.bgra = 1;
if ((strstr((char*) ext, "GL_EXT_bgra")) ||
(strstr((char*) ext, "GL_EXT_texture_format_BGRA8888")))
shared->info.bgra = 1;
#endif
}
glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS,