forked from enlightenment/efl
evas/engine: Fix the ector drawing for gl backend
This commit is contained in:
parent
d82c0ae1bf
commit
1ce417eb8b
|
@ -2388,6 +2388,7 @@ eng_ector_begin(void *data EINA_UNUSED, void *context EINA_UNUSED, void *surface
|
||||||
w = gl_context->w; h = gl_context->h;
|
w = gl_context->w; h = gl_context->h;
|
||||||
|
|
||||||
software_buffer = realloc(software_buffer, sizeof (unsigned int) * w * h);
|
software_buffer = realloc(software_buffer, sizeof (unsigned int) * w * h);
|
||||||
|
memset(software_buffer, 0, sizeof (unsigned int) * w * h);
|
||||||
if (use_cairo)
|
if (use_cairo)
|
||||||
{
|
{
|
||||||
eo_do(_software_ector,
|
eo_do(_software_ector,
|
||||||
|
|
Loading…
Reference in New Issue