diff options
Diffstat (limited to 'libraries/evas/src/modules/engines/gl_common/evas_gl_line.c')
-rw-r--r-- | libraries/evas/src/modules/engines/gl_common/evas_gl_line.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c b/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c index 48499ea..f8ace2e 100644 --- a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c +++ b/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c | |||
@@ -17,7 +17,10 @@ evas_gl_common_line_draw(Evas_Engine_GL_Context *gc, int x1, int y1, int x2, int | |||
17 | } | 17 | } |
18 | else | 18 | else |
19 | { | 19 | { |
20 | r = g = b = a = 255; | 20 | a = (dc->col.col >> 24) & 0xff; |
21 | r = (dc->col.col >> 16) & 0xff; | ||
22 | g = (dc->col.col >> 8 ) & 0xff; | ||
23 | b = (dc->col.col ) & 0xff; | ||
21 | } | 24 | } |
22 | 25 | ||
23 | glFlush(); | 26 | glFlush(); |