diff --git a/src/PostProcessing.cpp b/src/PostProcessing.cpp index e829114..76fcee2 100644 --- a/src/PostProcessing.cpp +++ b/src/PostProcessing.cpp @@ -145,12 +145,12 @@ namespace itg pingPong[currentReadFbo].draw(630, 10, 300, 300); } - void PostProcessing::draw(float x, float y) const + void PostProcessing::draw(float x, float y) { draw(x, y, width, height); } - void PostProcessing::draw(float x, float y, float w, float h) const + void PostProcessing::draw(float x, float y, float w, float h) { if (flip) { diff --git a/src/PostProcessing.h b/src/PostProcessing.h index a6279e5..31e4ef5 100644 --- a/src/PostProcessing.h +++ b/src/PostProcessing.h @@ -47,8 +47,8 @@ namespace itg void end(bool autoDraw = true); // float rather than int and not const to override ofBaseDraws - void draw(float x = 0.f, float y = 0.f) const; - void draw(float x, float y, float w, float h) const; + void draw(float x = 0.f, float y = 0.f) ; + void draw(float x, float y, float w, float h) ; float getWidth() const { return width; } float getHeight() const { return height; } @@ -80,6 +80,10 @@ namespace itg ofFbo& getRawRef() { return raw; } + float getHeight(){ return 0 ; }; + float getWidth(){ return 0 ; }; + + private: void process();