Evas GL: Fix leak of surfaces with GLES 1.1
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 25 Feb 2015 05:58:19 +0000 (14:58 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 25 Feb 2015 06:01:45 +0000 (15:01 +0900)
commit964d6e559fc687b4d127ba2e9dffc346e239fa03
tree05691f0c10f66c43680229062c5f200c01b98b6b
parent6d6fa6b7150a353ce2b88e9a9f71b6310423d310
Evas GL: Fix leak of surfaces with GLES 1.1

When destroying a GLES 1.1 surface, it is necessary to also
destroy and remove the main surface from the list.

This issue probably never really showed up because people
don't:
- use GLES 1.1
- constantly create & destroy new Evas GL surfaces
- but mostly no one cares about 1.1 anymore :)

@fix
src/modules/evas/engines/gl_common/evas_gl_core.c