X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_input.cpp;h=bbc4a5fd4ff44a32d291654c3ff615a4866d9801;hp=f9339df24779fab2cb37fb00baba51e88f613d4b;hb=f34b1c36acd27944f00885edfc55363432bfec8e;hpb=0ed2c7fe3876a49d1565e3425e5a491206ffe32d diff --git a/fft_input.cpp b/fft_input.cpp index f9339df..bbc4a5f 100644 --- a/fft_input.cpp +++ b/fft_input.cpp @@ -19,7 +19,7 @@ FFTInput::FFTInput(unsigned width, unsigned height) fft_height(height), convolve_width(width), convolve_height(height), - pixel_data(NULL) + pixel_data(nullptr) { register_int("fft_width", &fft_width); register_int("fft_height", &fft_height); @@ -39,7 +39,7 @@ void FFTInput::set_gl_state(GLuint glsl_program_num, const string& prefix, unsig check_error(); if (texture_num == 0) { - assert(pixel_data != NULL); + assert(pixel_data != nullptr); // Do the FFT. Our FFTs should typically be small enough and // the data changed often enough that FFTW_ESTIMATE should be