forked from enlightenment/efl
evas gl: enable GL_LINE_SMOOTH only at gles 1.x
As the GLES specification, GL_LINE_SMOOTH is not supported since GLES2.
This commit is contained in:
parent
0f0f8d7fbc
commit
745eea61b0
|
@ -4301,7 +4301,8 @@ shader_array_flush(Evas_Engine_GL_Context *gc)
|
|||
|
||||
if (gc->pipe[i].array.line)
|
||||
{
|
||||
if (gc->pipe[i].array.anti_alias)
|
||||
//LINE_SMOOTH is supported at gles 1.x spec.
|
||||
if ((gc->gles_version == 1) && gc->pipe[i].array.anti_alias)
|
||||
{
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
|
Loading…
Reference in New Issue