Evas GL: Fix coverity CID 1304559, 1304560
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 10 Jun 2015 23:39:43 +0000 (08:39 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 10 Jun 2015 23:39:43 +0000 (08:39 +0900)
commitcb11a67595815dc09fa615b3c81ee67e45b08e57
treed7746a0534bae9d3c7239d0077b2759efcbc3b7e
parentcf2e94e11b9d74aadad880bce51c242897b1e5bb
Evas GL: Fix coverity CID 1304559, 1304560

Summary:
<CID 1304559: Logically dead code>
The dead code is only valid for GLES backend, so move if statement
to be used for GLES backend only.
<CID 1304560: Bad bit shift operation>
When calculating depth bit, bit shifting could be done with negative values.
@fix

Test Plan: Local tests

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: wonsik, cedric

Differential Revision: https://phab.enlightenment.org/D2654
src/modules/evas/engines/gl_common/evas_gl_core.c