From 6fa2d4592b72c41fdf87a10dd4c99dde645672b0 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Fri, 24 Jan 2020 08:37:15 +0000 Subject: [PATCH] Automated Tests Sync Change-Id: I1c2c8fdb52123393ca09fe2d93ef8e38e85d2824 --- .../dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h index 098f555a5..9f458fc06 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-abstraction.h @@ -2,7 +2,7 @@ #define TEST_GL_ABSTRACTION_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -29,6 +29,7 @@ // INTERNAL INCLUDES #include +#include #include #include #include @@ -584,7 +585,7 @@ public: mFramebufferStatus |= 4; //We check 4 attachment colors - if ((attachment >= GL_COLOR_ATTACHMENT0) && (attachment < GL_COLOR_ATTACHMENT0 + Dali::FrameBuffer::MAX_COLOR_ATTACHMENTS)) + if ((attachment >= GL_COLOR_ATTACHMENT0) && (attachment < GL_COLOR_ATTACHMENT0 + Dali::DevelFrameBuffer::MAX_COLOR_ATTACHMENTS)) { uint8_t mask = 1 << (attachment - GL_COLOR_ATTACHMENT0); if ((mFrameBufferColorStatus & mask) == 0) -- 2.34.1