diff options
Diffstat (limited to 'src/gpu/GrProgramDesc.cpp')
-rw-r--r-- | src/gpu/GrProgramDesc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrProgramDesc.cpp b/src/gpu/GrProgramDesc.cpp index c552789d9f..e5da3be6ee 100644 --- a/src/gpu/GrProgramDesc.cpp +++ b/src/gpu/GrProgramDesc.cpp @@ -65,7 +65,7 @@ static void add_sampler_and_image_keys(GrProcessorKeyBuilder* b, const GrResourc if (0 == word32Count) { return; } - uint16_t* k16 = SkTCast<uint16_t*>(b->add32n(word32Count)); + uint16_t* k16 = reinterpret_cast<uint16_t*>(b->add32n(word32Count)); int j = 0; for (int i = 0; i < numTextureSamplers; ++i, ++j) { const GrResourceIOProcessor::TextureSampler& sampler = proc.textureSampler(i); |