forked from enlightenment/efl
note in comments som get visual info from fbconfig stuff to mach
depths. doesn't help though.
This commit is contained in:
parent
226517aa88
commit
36b1b06a60
|
@ -2190,6 +2190,13 @@ 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);
|
||||
|
||||
glXGetFBConfigAttrib(re->win->disp, configs[j],
|
||||
GLX_BUFFER_SIZE, &val);
|
||||
if (val != (int) depth) continue;
|
||||
|
|
Loading…
Reference in New Issue