Disable second 'graph' pass if nessecary (& other formatting), see #97
This commit is contained in:
4
render.c
4
render.c
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user