remove bufbuf

This commit is contained in:
Wirlaburla 2024-04-24 13:54:19 -05:00
parent 27d3e61d59
commit 5cc62a1bfc

View File

@ -631,11 +631,9 @@ int lerp (int a, int b, float f) {
}
#include <vector>
std::vector<int> bufbuf;
void displayScope(xmp_module_info *mi, xmp_frame_info *fi) {
const char* xbuf = (char*)fi->buffer;
int percol = (fi->buffer_size/(COLS-2));
bufbuf.resize(COLS-2);
wmove(dis, 0, 0);
for (int s = 0; s < COLS-2; s++) {
@ -654,8 +652,6 @@ void displayScope(xmp_module_info *mi, xmp_frame_info *fi) {
}
wmove(dis, r, s);
waddch(dis, '=');
bufbuf[s] = l;
}
}