&(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,
im->cache_entry.h + 1, bgr_ifmt, bgr_fmt,
&u, &v, &l_after, 1024);
else
+#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
+ tex->pt = _pool_tex_find(gc, im->cache_entry.w + 3,
+ im->cache_entry.h + 1, rgba_ifmt, rgba_fmt,
+ &u, &v, &l_after, 1024);
+#else
tex->pt = _pool_tex_find(gc, im->cache_entry.w + 3,
im->cache_entry.h + 1, rgb_ifmt, rgb_fmt,
&u, &v, &l_after, 1024);
+#endif
}
if (!tex->pt)
{