OpenGL:fixes bug where GLDepthFunc parameter is extracted
authorhyeran74.kim <hyeran74.kim@samsung.com>
Wed, 30 Sep 2015 06:51:11 +0000 (15:51 +0900)
committerhyeran74.kim <hyeran74.kim@samsung.com>
Wed, 30 Sep 2015 06:51:11 +0000 (15:51 +0900)
The number of GLDepthFunc parameters is 1.

Change-Id: I5fa0e2b5f0ef661e69e54984dd3eddd28d0e0d06
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/data/GLCommonStateDataMaker.java

index 94069df..727bc7f 100644 (file)
@@ -275,7 +275,7 @@ public class GLCommonStateDataMaker {
                String parameters[] = logData.getArgs()
                                .split(CommonConstants.COMMA + CommonConstants.SPACE);
                if (logData.getApiName().equals(GLAPINameDefine.API_GL_DEPTH_FUNC)) {
-                       if (parameters.length != 2) {
+                       if (parameters.length != 1) {
                                Logger.error("GL extract API parameter  : " + logData.getApiName());
                                return;
                        }