X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=analyzer.cpp;fp=analyzer.cpp;h=b24b46a26ff52457ae3893f7cbf6b1253a1b2f24;hb=d58634eed0ef4a32b6d45081bcfb85aba1f3f379;hp=d48176036a1df67c3b9e132757351c4c9fb2e726;hpb=8c41746aafdb4b1c002efb90a38c6195a84c3f0c;p=nageru diff --git a/analyzer.cpp b/analyzer.cpp index d481760..b24b46a 100644 --- a/analyzer.cpp +++ b/analyzer.cpp @@ -69,7 +69,7 @@ Analyzer::Analyzer() glGenBuffers(1, &pbo); glBindBuffer(GL_PIXEL_PACK_BUFFER_ARB, pbo); - glBufferData(GL_PIXEL_PACK_BUFFER_ARB, global_flags.width * global_flags.height * 4, NULL, GL_STREAM_READ); + glBufferData(GL_PIXEL_PACK_BUFFER_ARB, global_flags.width * global_flags.height * 4, nullptr, GL_STREAM_READ); ui->histogram->xAxis->setVisible(true); ui->histogram->yAxis->setVisible(false);