Fixes: NB#167601 New: Changes: fix logic in some if clauses of EGL backend
Fixes: NB#167601
New:
Changes: fix logic in some if clauses of EGL backend

RevBy:
Details:

siraj/mcompositor,siraj/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor,siraj/mcompositor,siraj/mcompositor,nemomobile-graveyard/mcompositor,nemomobile-graveyard/mcompositor