diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/modules/engines/gl_common/evas_gl_line.c | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
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 | 35 |
1 files changed, 0 insertions, 35 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 deleted file mode 100644 index f8ace2e..0000000 --- a/libraries/evas/src/modules/engines/gl_common/evas_gl_line.c +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | #include "evas_gl_private.h" | ||
2 | |||
3 | void | ||
4 | evas_gl_common_line_draw(Evas_Engine_GL_Context *gc, int x1, int y1, int x2, int y2) | ||
5 | { | ||
6 | RGBA_Draw_Context *dc; | ||
7 | int r, g, b, a; | ||
8 | int c, cx, cy, cw, ch; | ||
9 | |||
10 | dc = gc->dc; | ||
11 | if (dc->mul.use) | ||
12 | { | ||
13 | a = (dc->mul.col >> 24) & 0xff; | ||
14 | r = (dc->mul.col >> 16) & 0xff; | ||
15 | g = (dc->mul.col >> 8 ) & 0xff; | ||
16 | b = (dc->mul.col ) & 0xff; | ||
17 | } | ||
18 | else | ||
19 | { | ||
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; | ||
24 | } | ||
25 | |||
26 | glFlush(); | ||
27 | |||
28 | c = gc->dc->clip.use; | ||
29 | cx = gc->dc->clip.x; cy = gc->dc->clip.y; | ||
30 | cw = gc->dc->clip.w; ch = gc->dc->clip.h; | ||
31 | |||
32 | evas_gl_common_context_line_push(gc, x1, y1, x2, y2, | ||
33 | c, cx, cy, cw, ch, | ||
34 | r, g, b, a); | ||
35 | } | ||