evas: No error if blacklisted, just warn

This commit is contained in:
Sebastian Dransfeld 2013-11-21 10:43:17 +01:00
parent d4b9e3b287
commit aed4dbea30
1 changed files with 8 additions and 8 deletions

View File

@ -202,10 +202,10 @@ eng_window_new(Display *disp,
blacklist = 1; blacklist = 1;
if ((blacklist) && (!getenv("EVAS_GL_NO_BLACKLIST"))) if ((blacklist) && (!getenv("EVAS_GL_NO_BLACKLIST")))
{ {
ERR("OpenGL Driver blacklisted:"); WRN("OpenGL Driver blacklisted:");
ERR("Vendor: %s", (const char *)vendor); WRN("Vendor: %s", (const char *)vendor);
ERR("Renderer: %s", (const char *)renderer); WRN("Renderer: %s", (const char *)renderer);
ERR("Version: %s", (const char *)version); WRN("Version: %s", (const char *)version);
eng_window_free(gw); eng_window_free(gw);
return NULL; return NULL;
} }
@ -363,10 +363,10 @@ eng_window_new(Display *disp,
blacklist = 1; blacklist = 1;
if ((blacklist) && (!getenv("EVAS_GL_NO_BLACKLIST"))) if ((blacklist) && (!getenv("EVAS_GL_NO_BLACKLIST")))
{ {
ERR("OpenGL Driver blacklisted:"); WRN("OpenGL Driver blacklisted:");
ERR("Vendor: %s", (const char *)vendor); WRN("Vendor: %s", (const char *)vendor);
ERR("Renderer: %s", (const char *)renderer); WRN("Renderer: %s", (const char *)renderer);
ERR("Version: %s", (const char *)version); WRN("Version: %s", (const char *)version);
eng_window_free(gw); eng_window_free(gw);
return NULL; return NULL;
} }