Disable second 'graph' pass if nessecary (& other formatting), see #97

This commit is contained in:
Jarcode
2019-02-05 17:45:17 -08:00
parent 7c30c4a78a
commit f87c70af2b
2 changed files with 28 additions and 24 deletions

View File

@@ -639,7 +639,7 @@ void transform_fft(struct gl_data* d, void** _, void* in) {
float wtemp, wr, wpr, wpi, wi, theta;
float tempr, tempi;
// reverse-binary reindexing
/* reverse-binary reindexing */
n = nn << 1;
j = 1;
for (i = 1; i < n; i += 2) {
@@ -655,7 +655,7 @@ void transform_fft(struct gl_data* d, void** _, void* in) {
j += m;
};
// here begins the Danielson-Lanczos section
/* here begins the Danielson-Lanczos section */
mmax = 2;
while (n > mmax) {
istep = mmax << 1;

View File

@@ -9,6 +9,10 @@ out vec4 fragment; /* output */
#include "@graph.glsl"
#include ":graph.glsl"
#if DRAW_OUTLINE == 0 && DRAW_HIGHLIGHT == 0
#error __disablestage
#endif
void main() {
fragment = texelFetch(tex, ivec2(gl_FragCoord.x, gl_FragCoord.y), 0);