diff options
Diffstat (limited to 'noatun-plugins/nexscope/renderers.cpp')
-rw-r--r-- | noatun-plugins/nexscope/renderers.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noatun-plugins/nexscope/renderers.cpp b/noatun-plugins/nexscope/renderers.cpp index a0305ab..e296471 100644 --- a/noatun-plugins/nexscope/renderers.cpp +++ b/noatun-plugins/nexscope/renderers.cpp @@ -30,7 +30,7 @@ structQt::HorizontalPair : public Renderer } static inline void processV(int h, int start, int end, Bitmap *d, - float *ch, Pixel c, register bool solid) + float *ch, Pixel c, bool solid) { int oldx=(start+end)/2; int mid=oldx; @@ -50,7 +50,7 @@ structQt::HorizontalPair : public Renderer } static inline void processH(int h, int start, int end, Bitmap *d, - float *ch, Pixel c, register bool solid) + float *ch, Pixel c, bool solid) { int oldx=(start+end)/2; int mid=oldx; @@ -143,9 +143,9 @@ class Fade : public Renderer public: virtual Bitmap *render(float *[2], Bitmap *src) { - register int i=src->bytes()/sizeof(Pixel); + int i=src->bytes()/sizeof(Pixel); - register Pixel *d=src->pixels(); + Pixel *d=src->pixels(); do { *d -= ((*d & 0xf0f0f0f0) >> 4) + @@ -208,8 +208,8 @@ struct Blur : public Renderer { Bitmap *b=nex->bitmapPool()->get(); - register Byte *buffer=(Byte*)b->pixels(); - register unsigned short pitch=width*sizeof(Pixel); + Byte *buffer=(Byte*)b->pixels(); + unsigned short pitch=width*sizeof(Pixel); // skip the first row buffer+=pitch; @@ -218,7 +218,7 @@ struct Blur : public Renderer buffer+=sizeof(Pixel); // we also don't want to do the last row - register Pixel *end=b->lastPixel(); + Pixel *end=b->lastPixel(); end-=pitch; // and the last pixel on the second-to-last row end-=sizeof(Pixel); |