forked from enlightenment/efl
parent
22bcb163f2
commit
5c236def11
|
@ -1333,8 +1333,8 @@ eng_image_native_set(void *data, void *image, void *native)
|
||||||
n->visual = vis;
|
n->visual = vis;
|
||||||
n->fbc = re->win->depth_cfg[depth].fbc;
|
n->fbc = re->win->depth_cfg[depth].fbc;
|
||||||
im->native.yinvert = re->win->depth_cfg[depth].yinvert;
|
im->native.yinvert = re->win->depth_cfg[depth].yinvert;
|
||||||
// im->native.loose = 1; // works well on nvidia - intel may not be happy i hear. for now.. lets make nv work 1. - because i have an nv card, 2. because it doesnt seem broken for texture-from-pixmap like fglrx has seemed, 3. its some of the best done drivers on linux
|
im->native.loose = 1; // works well on nvidia - intel may not be happy i hear. for now.. lets make nv work 1. - because i have an nv card, 2. because it doesnt seem broken for texture-from-pixmap like fglrx has seemed, 3. its some of the best done drivers on linux
|
||||||
im->native.loose = 0;
|
// im->native.loose = 0;
|
||||||
im->native.data = n;
|
im->native.data = n;
|
||||||
im->native.func.data = re;
|
im->native.func.data = re;
|
||||||
im->native.func.bind = _native_bind_cb;
|
im->native.func.bind = _native_bind_cb;
|
||||||
|
@ -1342,7 +1342,7 @@ eng_image_native_set(void *data, void *image, void *native)
|
||||||
im->native.func.free = _native_free_cb;
|
im->native.func.free = _native_free_cb;
|
||||||
n->glx_pixmap = glXCreatePixmap(re->win->disp, n->fbc,
|
n->glx_pixmap = glXCreatePixmap(re->win->disp, n->fbc,
|
||||||
n->pixmap, pixmap_att);
|
n->pixmap, pixmap_att);
|
||||||
printf("new native texture for %x | %4ix%4i@%2ibpp = %p\n",
|
printf("new native texture for %x | %4i x %4i @ %2i = %p\n",
|
||||||
pm, w, h, depth, n->glx_pixmap);
|
pm, w, h, depth, n->glx_pixmap);
|
||||||
if (!target)
|
if (!target)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue