forked from enlightenment/efl
evas - gl engine - this fixes the breakages in new nvidia drivers
nvidia > 319 broke alpha windows. this code that was left commented out fixes it. it didn't used to have any use.
This commit is contained in:
parent
f82c77843e
commit
2da7295af2
|
@ -2345,12 +2345,12 @@ eng_image_native_set(void *data, void *image, void *native)
|
||||||
{
|
{
|
||||||
if (found == 0)
|
if (found == 0)
|
||||||
{
|
{
|
||||||
// XVisualInfo *vi;
|
XVisualInfo *vi;
|
||||||
//
|
|
||||||
// vi = glXGetVisualFromFBConfig(re->win->disp, configs[j]);
|
vi = glXGetVisualFromFBConfig(re->win->disp, configs[j]);
|
||||||
// if (!vi) continue;
|
if (!vi) continue;
|
||||||
// if (vi->depth != depth) continue;
|
if (vi->depth != depth) continue;
|
||||||
// XFree(vi);
|
XFree(vi);
|
||||||
|
|
||||||
glXGetFBConfigAttrib(re->win->disp, configs[j],
|
glXGetFBConfigAttrib(re->win->disp, configs[j],
|
||||||
GLX_BUFFER_SIZE, &val);
|
GLX_BUFFER_SIZE, &val);
|
||||||
|
|
Loading…
Reference in New Issue