add a new npot extn string

SVN revision: 43430
This commit is contained in:
Carsten Haitzler 2009-11-03 10:33:37 +00:00
parent a6210fef9a
commit 7526d0751e
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ evas_gl_common_context_new(void)
{ {
fprintf(stderr, "EXT:\n%s\n", ext); fprintf(stderr, "EXT:\n%s\n", ext);
if ((strstr(ext, "GL_ARB_texture_non_power_of_two")) || if ((strstr(ext, "GL_ARB_texture_non_power_of_two")) ||
(strstr(ext, "OES_texture_npot"))) (strstr(ext, "OES_texture_npot")) ||
(strstr(ext, "GL_IMG_texture_npot")))
shared->info.tex_npo2 = 1; shared->info.tex_npo2 = 1;
if ((strstr(ext, "GL_NV_texture_rectangle")) || if ((strstr(ext, "GL_NV_texture_rectangle")) ||
(strstr(ext, "GL_EXT_texture_rectangle")) || (strstr(ext, "GL_EXT_texture_rectangle")) ||