X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fgl%2Fgl-implementation.h;h=36a08cc0d132360373c0aa5ff6c6fba86c4f26be;hb=c80fe7c30797afc0986683a8754bcda895b20512;hp=452367ed9a049eba37735b99cf296b524cfa3a98;hpb=d4c3e36f85ffb2e2aebef5833825b65245dff4e7;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/gl/gl-implementation.h b/adaptors/common/gl/gl-implementation.h index 452367e..36a08cc 100644 --- a/adaptors/common/gl/gl-implementation.h +++ b/adaptors/common/gl/gl-implementation.h @@ -2,7 +2,7 @@ #define __DALI_INTERNAL_GL_IMPLEMENTATION_H__ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1509,9 +1509,9 @@ public: void InvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments) { #if DALI_GLES_VERSION >= 30 - // if OpenGL ES 2.0 compatibility is need this can be implemented with - // glDiscardFramebufferEXT glInvalidateFramebuffer(target,numAttachments,attachments); +#else + mGlExtensions.DiscardFrameBuffer(target, numAttachments, attachments); #endif // DALI_GLES_VERSION >= 30 }