evas/gl_common - set line color with draw context.

SVN revision: 67870
This commit is contained in:
ChunEon Park 2012-02-13 05:05:59 +00:00
parent edeccaf614
commit 839b56769a
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ evas_gl_common_line_draw(Evas_Engine_GL_Context *gc, int x1, int y1, int x2, int
}
else
{
r = g = b = a = 255;
a = (dc->col.col >> 24) & 0xff;
r = (dc->col.col >> 16) & 0xff;
g = (dc->col.col >> 8 ) & 0xff;
b = (dc->col.col ) & 0xff;
}
glFlush();