Remove unused function.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#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<float>& 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
|
||||
|
||||
Reference in New Issue
Block a user