From 1d856c1b0016a82c93516b7430e0e7167a2d14ee Mon Sep 17 00:00:00 2001 From: Olli Wang Date: Thu, 11 Aug 2016 02:00:23 +0800 Subject: [PATCH] Changes the order of declaration. --- src/nanovg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/nanovg.h b/src/nanovg.h index 32c6837..229aa63 100644 --- a/src/nanovg.h +++ b/src/nanovg.h @@ -97,14 +97,6 @@ enum NVGblendFactor { NVG_SRC_ALPHA_SATURATE = 1<<10, }; -struct NVGcompositeOperationState { - int srcRGB; - int dstRGB; - int srcAlpha; - int dstAlpha; -}; -typedef struct NVGcompositeOperationState NVGcompositeOperationState; - enum NVGcompositeOperation { NVG_SOURCE_OVER, NVG_SOURCE_IN, @@ -119,6 +111,14 @@ enum NVGcompositeOperation { NVG_XOR, }; +struct NVGcompositeOperationState { + int srcRGB; + int dstRGB; + int srcAlpha; + int dstAlpha; +}; +typedef struct NVGcompositeOperationState NVGcompositeOperationState; + struct NVGglyphPosition { const char* str; // Position of the glyph in the input string. float x; // The x-coordinate of the logical glyph position.