forked from enlightenment/efl
evas: No error if blacklisted, just warn
This commit is contained in:
parent
d4b9e3b287
commit
aed4dbea30
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue