X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmodules%2Ffastpath%2Fcoregl_fastpath_gl.c;h=03c8cf3331b5d885085da52897f13a1155b1f5ae;hb=1f2105628eac76ad23c7b4424c592a6ff78f5632;hp=9044bf587e8a7f5c3d456f210d24ffefdb6835de;hpb=c774b9e1ffa49cf12ac055367e3cf3ae71ee38a5;p=platform%2Fcore%2Fuifw%2Fcoregl.git diff --git a/src/modules/fastpath/coregl_fastpath_gl.c b/src/modules/fastpath/coregl_fastpath_gl.c index 9044bf5..03c8cf3 100644 --- a/src/modules/fastpath/coregl_fastpath_gl.c +++ b/src/modules/fastpath/coregl_fastpath_gl.c @@ -5103,7 +5103,7 @@ fastpath_glGetStringi(GLenum name, GLuint index) goto finish; case GL_EXTENSIONS: _valid_extension_string(); - if (index < 0 || index >= gl_extension_count) { + if (index >= gl_extension_count) { _set_gl_error(GL_INVALID_VALUE); goto finish; }