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)
|
||||
{
|
||||
// XVisualInfo *vi;
|
||||
//
|
||||
// vi = glXGetVisualFromFBConfig(re->win->disp, configs[j]);
|
||||
// if (!vi) continue;
|
||||
// if (vi->depth != depth) continue;
|
||||
// XFree(vi);
|
||||
XVisualInfo *vi;
|
||||
|
||||
vi = glXGetVisualFromFBConfig(re->win->disp, configs[j]);
|
||||
if (!vi) continue;
|
||||
if (vi->depth != depth) continue;
|
||||
XFree(vi);
|
||||
|
||||
glXGetFBConfigAttrib(re->win->disp, configs[j],
|
||||
GLX_BUFFER_SIZE, &val);
|
||||
|
|
Loading…
Reference in New Issue