aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRenderer.h
diff options
context:
space:
mode:
authorLe Philousophe2019-06-30 16:52:22 +0200
committerFilippos Karapetis2019-06-30 21:43:58 +0300
commit3a7219fa57c671822e4b61ddc3217b9acbeae848 (patch)
tree982241cae3b5fc7cf87fa992ba478fc451c7185d /graphics/VectorRenderer.h
parentf6cf78430b258ad7bcfbf5e6cbbc02d1b38994fa (diff)
downloadscummvm-rg350-3a7219fa57c671822e4b61ddc3217b9acbeae848.tar.gz
scummvm-rg350-3a7219fa57c671822e4b61ddc3217b9acbeae848.tar.bz2
scummvm-rg350-3a7219fa57c671822e4b61ddc3217b9acbeae848.zip
JANITORIAL: Avoid C4121 warnings in MSVC by reordering fields
C4121 is about 'symbol': alignment of a member was sensitive to packing
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r--graphics/VectorRenderer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h
index 2abe0e0759..78638200a4 100644
--- a/graphics/VectorRenderer.h
+++ b/graphics/VectorRenderer.h
@@ -43,6 +43,10 @@ typedef void (VectorRenderer::*DrawingFunctionCallback)(const Common::Rect &, co
struct DrawStep {
+ DrawingFunctionCallback drawingCall; /**< Pointer to drawing function */
+ Graphics::Surface* blitSrc;
+ Graphics::TransparentSurface* blitAlphaSrc;
+
struct Color {
uint8 r, g, b;
bool set;
@@ -81,10 +85,6 @@ struct DrawStep {
uint32 scale; /**< scale of all the coordinates in FIXED POINT with 16 bits mantissa */
GUI::ThemeEngine::AutoScaleMode autoscale; /**< scale alphaimage if present */
-
- DrawingFunctionCallback drawingCall; /**< Pointer to drawing function */
- Graphics::Surface *blitSrc;
- Graphics::TransparentSurface *blitAlphaSrc;
};
VectorRenderer *createRenderer(int mode);