diff --git a/src/fmri/glutils.cpp b/src/fmri/glutils.cpp index 23b1610..34a23ee 100644 --- a/src/fmri/glutils.cpp +++ b/src/fmri/glutils.cpp @@ -6,7 +6,6 @@ #include #include #include "glutils.hpp" -#include "Range.hpp" using namespace fmri; using namespace std; @@ -21,16 +20,6 @@ static void handleGLError(GLenum error) { } } -static void rescaleSubImages(vector& textureBuffer, int subImages) { - auto cur = textureBuffer.begin(); - const auto increment = textureBuffer.size() / subImages; - - while (cur != textureBuffer.end()) { - rescale(cur, cur + increment, 0, 1); - advance(cur, increment); - } -} - void fmri::changeWindowSize(int w, int h) { // Prevent a divide by zero, when window is too short