X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-gl-abstraction.cpp;h=c4bc01d77d601132da6799334849e1f495285d44;hp=6e9b9f0e92d06d8513abb0b5bb67be858ffb53b2;hb=46322a558e537267a6d3c48630c45afca91b5e27;hpb=d26f555fd84d43b0a3e650c66a0e626e841dd9c6 diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-abstraction.cpp b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-abstraction.cpp index 6e9b9f0..c4bc01d 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-abstraction.cpp +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-abstraction.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 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. @@ -67,6 +67,7 @@ void TestGlAbstraction::Initialize() mLastBlendFuncSrcAlpha = 0; mLastBlendFuncDstAlpha = 0; mLastAutoTextureIdUsed = 0; + mNumGeneratedTextures = 0; mLastShaderIdUsed = 0; mLastProgramIdUsed = 0; mLastUniformIdUsed = 0; @@ -108,7 +109,7 @@ bool BlendEnabled(const Dali::TraceCallStack& callStack) { std::stringstream out; out << GL_BLEND; - bool blendEnabled = callStack.FindMethodAndParams("Enable", out.str()); + bool blendEnabled = callStack.FindMethodAndParams( "Enable", out.str() ); return blendEnabled; } @@ -116,6 +117,6 @@ bool BlendDisabled(const Dali::TraceCallStack& callStack) { std::stringstream out; out << GL_BLEND; - bool blendEnabled = callStack.FindMethodAndParams("Disable", out.str()); + bool blendEnabled = callStack.FindMethodAndParams( "Disable", out.str() ); return blendEnabled; }