Commit 893bc24da36071bb716b857488c725dd8d45ebd4

  • avatar
  • Chia-I Wu <olvaffe @gm…l.com>
  • Thu Oct 22 09:48:05 CEST 2009
egl_android: Wrong attribute is passed.
  
478478 img->magic = __DRI_EGL_IMAGE_MAGIC;
479479 img->drawable = drawable->dri_drawable;
480480 img->level = 0;
481 if (loader->core->getConfigAttrib(drawable->dri_config,
482 EGL_BIND_TO_TEXTURE_RGBA, &val))
481 if (drawable->dri_config == screen->image_configs[32] &&
482 loader->core->getConfigAttrib(drawable->dri_config,
483 __DRI_ATTRIB_BIND_TO_TEXTURE_RGBA,
484 &val))
483485 img->texture_format_rgba = val;
484486
485487 drawable->dri_image = img;