diff options
Diffstat (limited to 'tests/FloatingPointTextureTest.cpp')
-rw-r--r-- | tests/FloatingPointTextureTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp index 1adc7442af..c5103c813f 100644 --- a/tests/FloatingPointTextureTest.cpp +++ b/tests/FloatingPointTextureTest.cpp @@ -55,14 +55,14 @@ void runFPTest(skiatest::Reporter* reporter, GrContextFactory* factory, continue; } GrContext* context = factory->get(type); - if (NULL == context) { + if (nullptr == context) { continue; } SkAutoTUnref<GrTexture> fpTexture(context->textureProvider()->createTexture( desc, false, controlPixelData.begin(), 0)); // Floating point textures are NOT supported everywhere - if (NULL == fpTexture) { + if (nullptr == fpTexture) { continue; } fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0); |