EvasGL: Fixed a few minor bugs.
authorsung <sung@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jun 2012 08:19:25 +0000 (08:19 +0000)
committersung <sung@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Jun 2012 08:19:25 +0000 (08:19 +0000)
commite80942ad532548ca8cb91a974a8844d7a6ead44e
treedbe73a2cce7278f1b8dd342d7450f22b568b2d18
parent4cb2c7856b5620177d1b48981193a66f554dcc2b
EvasGL: Fixed a few minor bugs.
- Added (w,h) <=0 dimension check for evas_gl_surface_create()
- Changed evas_gl_make_current to return error when either
  surface or context is NULL.  Semantically, this was allowed
  before but it was changed to reflect eglMakeCurrent behavior.
- evas_gl_make_current - detached any previously attached
  buffers before attaching new ones to an FBO during a make_current.
- Used dynamic memory for extension string allocation for safety.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@72926 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
ChangeLog
src/lib/canvas/evas_gl.c
src/modules/engines/gl_x11/evas_engine.c