summaryrefslogtreecommitdiff
path: root/egl_1_4
diff options
context:
space:
mode:
authorSangjin Kim <sangjin3.kim@samsung.com>2012-09-04 15:43:44 +0900
committerSangjin Kim <sangjin3.kim@samsung.com>2012-09-04 15:43:44 +0900
commitbffcebb7116b9468aadbc09cea3a6c4f579ec217 (patch)
tree7e8ecf4274f869ea0653f9f1592580ee87cd1891 /egl_1_4
parent7c53dc36e0f39adafe23370e217d09d3c0b9712d (diff)
downloadsimulator-opengl-bffcebb7116b9468aadbc09cea3a6c4f579ec217.tar.gz
simulator-opengl-bffcebb7116b9468aadbc09cea3a6c4f579ec217.tar.bz2
simulator-opengl-bffcebb7116b9468aadbc09cea3a6c4f579ec217.zip
[Title] eglBindAPI bug fix.
[Type] bug fix [Module] opengl [Priority] [CQ#] [Redmine#] [Problem] Return value of eglBindAPI is not correct. [Cause] Unhandled exception path is exist. [Solution] Inset explicit return path. [TestCase]
Diffstat (limited to 'egl_1_4')
-rwxr-xr-xegl_1_4/37BindAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/egl_1_4/37BindAPI.c b/egl_1_4/37BindAPI.c
index e2db5a2..0fede7a 100755
--- a/egl_1_4/37BindAPI.c
+++ b/egl_1_4/37BindAPI.c
@@ -39,7 +39,7 @@ EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api) {
case EGL_OPENGL_ES_API:
case EGL_OPENVG_API:
EGLINTER(global).currentAPI = api;
- break;
+ return EGL_TRUE;
#else
case EGL_OPENGL_ES_API:
EGLINTER(global).currentAPI = api;