another bug in the wall
This commit is contained in:
@@ -157,7 +157,7 @@ return retval;
|
||||
* processor.
|
||||
*/
|
||||
|
||||
#define DEBUG_THIS_CRAP 0
|
||||
#define DEBUG_THIS_CRAP 60
|
||||
|
||||
int crapulator(FloatImg *image, int idFx, float fval)
|
||||
{
|
||||
@@ -172,7 +172,7 @@ fprintf(stderr, ">>> %s ( %p %d %f )\n", __func__,
|
||||
#if DEBUG_THIS_CRAP
|
||||
static int count = 0;
|
||||
int flag_debug = 0;
|
||||
if (666==count) {
|
||||
if (DEBUG_THIS_CRAP==count) {
|
||||
flag_debug = 1;
|
||||
fprintf(stderr, "DEBUG PT 1 in %s:%d\n", __func__, __LINE__);
|
||||
fimg_save_as_png(image, "crap_before.png", 0);
|
||||
@@ -183,7 +183,8 @@ retval = 0;
|
||||
|
||||
switch (idFx) {
|
||||
case CR_none: /* DO NOTHING */
|
||||
retval = 0; break;
|
||||
retval = 0;
|
||||
break;
|
||||
|
||||
case CR_cos01:
|
||||
fimg_cos_01(image, image,
|
||||
@@ -328,8 +329,8 @@ typedef struct {
|
||||
int flags;
|
||||
} Crapulor;
|
||||
|
||||
/* Warning: overengeniring inside */
|
||||
#include "crapstr.h" /* generated file ! */
|
||||
/* Warning: overengeniring inside */
|
||||
#include "crapstr.h" /* generated file ! */
|
||||
#define NBCRAP (sizeof(CrapL)/sizeof(Crapulor))
|
||||
|
||||
void list_crapulors(char *texte)
|
||||
|
||||
Reference in New Issue
Block a user