diff options
-rw-r--r-- | graphics/VectorRenderer.cpp | 6 | ||||
-rw-r--r-- | graphics/VectorRenderer.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index 0897e530bb..f231531a16 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -34,11 +34,11 @@ namespace Graphics { inline uint32 fp_sqroot(uint32 x); VectorRenderer *createRenderer() { - return new VectorRendererSpec<uint16,ColorMasks<565> >; + return new VectorRendererSpec<uint16,ColorMasks<565>>; } -void vector_renderer_test( OSystem *_system ) { +void vector_renderer_test(OSystem *_system) { VectorRenderer *vr = createRenderer(); Surface _screen; @@ -123,7 +123,7 @@ drawLineAlg(int x1, int y1, int x2, int y2, int dx, int dy) { template<typename PixelType, typename PixelFormat> void VectorRendererAA<PixelType,PixelFormat>:: -blendPixelPtr( PixelType *ptr, uint8 alpha ) { +blendPixelPtr(PixelType *ptr, uint8 alpha) { register int idst = *ptr; register int isrc = Base::_color; diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index b5be32e0e1..2f648b9c56 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -33,7 +33,7 @@ namespace Graphics { -void vector_renderer_test( OSystem *_system ); +void vector_renderer_test(OSystem *_system); /** * VectorRenderer: The core Vector Renderer Class @@ -113,7 +113,7 @@ public: * * @param surface Pointer to a Surface object. */ - virtual void setSurface(Surface *surface){ + virtual void setSurface(Surface *surface) { _activeSurface = surface; } @@ -248,7 +248,7 @@ public: * * @see VectorRenderer::blendPixel() */ - virtual inline void blendPixel( int x, int y, uint8 alpha ) { + virtual inline void blendPixel(int x, int y, uint8 alpha) { putPixel(x, y); } @@ -319,7 +319,7 @@ protected: * The AA renderer does support alpha blending. Special cases are * handled separately. */ - inline void blendPixel( int x, int y, uint8 alpha ) { + inline void blendPixel(int x, int y, uint8 alpha) { if (alpha == 0) return; else if (alpha < 255) |