fix crash on null yuv.

SVN revision: 49392
This commit is contained in:
Carsten Haitzler 2010-06-02 09:15:01 +00:00
parent c3dd8fa055
commit 5cad6a1c95
1 changed files with 5 additions and 0 deletions

View File

@ -443,6 +443,11 @@ evas_gl_common_image_draw(Evas_GL_Context *gc, Evas_GL_Image *im, int sx, int sy
}
_evas_gl_common_image_update(gc, im);
if (!im->tex)
{
evas_gl_common_rect_draw(gc, dx, dy, dw, dh);
return;
}
if ((im->cs.space == EVAS_COLORSPACE_YCBCR422P601_PL) ||
(im->cs.space == EVAS_COLORSPACE_YCBCR422P709_PL))