X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=blur_effect.h;h=69bd663cd27b9b518497a35998d06a6a5260d93e;hp=8ad3da92dc27bb0f164184b04c042de569714038;hb=f34b1c36acd27944f00885edfc55363432bfec8e;hpb=0ed2c7fe3876a49d1565e3425e5a491206ffe32d diff --git a/blur_effect.h b/blur_effect.h index 8ad3da9..69bd663 100644 --- a/blur_effect.h +++ b/blur_effect.h @@ -63,7 +63,7 @@ private: class SingleBlurPassEffect : public Effect { public: - // If parent is non-NULL, calls to inform_input_size will be forwarded + // If parent is non-nullptr, calls to inform_input_size will be forwarded // so that it can make reasonable decisions for both blur passes. SingleBlurPassEffect(BlurEffect *parent); virtual ~SingleBlurPassEffect(); @@ -77,7 +77,7 @@ public: virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height) { - if (parent != NULL) { + if (parent != nullptr) { parent->inform_input_size(input_num, width, height); } }