From 73ad5c62d33a9c61732b3051a56925f2c4d2b1b6 Mon Sep 17 00:00:00 2001 From: patricejiang Date: Wed, 13 Mar 2019 11:16:03 +0800 Subject: [PATCH] fix android compile --- tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp b/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp index fbae388be0..e92bf4b2fb 100644 --- a/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp +++ b/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp @@ -2157,10 +2157,10 @@ void Sprite3DCubeMapTest::addNewSpriteWithCoords(Vec2 p) _textureCube->retain(); //set texture parameters Texture2D::TexParams tRepeatParams; - tRepeatParams.magFilter = backend::SamplerFilter::LINEAR; - tRepeatParams.minFilter = backend::SamplerFilter::LINEAR; - tRepeatParams.wrapS = backend::SamplerAddressMode::CLAMP_TO_EDGE; - tRepeatParams.wrapT = backend::SamplerAddressMode::CLAMP_TO_EDGE; + tRepeatParams.magFilter = backend::SamplerFilter::LINEAR; + tRepeatParams.minFilter = backend::SamplerFilter::LINEAR; + tRepeatParams.sAddressMode = backend::SamplerAddressMode::CLAMP_TO_EDGE; + tRepeatParams.tAddressMode = backend::SamplerAddressMode::CLAMP_TO_EDGE; _textureCube->setTexParameters(tRepeatParams); auto mat = Sprite3DMaterial::createWithFilename("Sprite3DTest/CubeMap.material");