summaryrefslogtreecommitdiffstats
path: root/src/opengl/util
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-10-07 09:20:23 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-07 09:20:23 (GMT)
commited9fb96a626c284cebd4fcd9a2e00f32e202099a (patch)
treefafee1cf1243f1968c2bb835b75dcaf68692adeb /src/opengl/util
parent1433798228fd3d1b67b83adfdd72e53884a5c2a0 (diff)
downloadQt-ed9fb96a626c284cebd4fcd9a2e00f32e202099a.zip
Qt-ed9fb96a626c284cebd4fcd9a2e00f32e202099a.tar.gz
Qt-ed9fb96a626c284cebd4fcd9a2e00f32e202099a.tar.bz2
Fix compilation with -pedantic
Merge-request: 1716 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/opengl/util')
-rw-r--r--src/opengl/util/fragmentprograms_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opengl/util/fragmentprograms_p.h b/src/opengl/util/fragmentprograms_p.h
index 18da5c8..340023c 100644
--- a/src/opengl/util/fragmentprograms_p.h
+++ b/src/opengl/util/fragmentprograms_p.h
@@ -71,7 +71,7 @@ enum FragmentVariable {
VAR_FMP2_M_RADIUS2,
VAR_FMP,
VAR_INV_MATRIX_M0,
- VAR_ANGLE,
+ VAR_ANGLE
};
enum FragmentBrushType {
@@ -80,7 +80,7 @@ enum FragmentBrushType {
FRAGMENT_PROGRAM_BRUSH_CONICAL,
FRAGMENT_PROGRAM_BRUSH_LINEAR,
FRAGMENT_PROGRAM_BRUSH_TEXTURE,
- FRAGMENT_PROGRAM_BRUSH_PATTERN,
+ FRAGMENT_PROGRAM_BRUSH_PATTERN
};
enum FragmentCompositionModeType {
@@ -109,12 +109,12 @@ enum FragmentCompositionModeType {
COMPOSITION_MODES_DIFFERENCE_NOMASK,
COMPOSITION_MODES_EXCLUSION_NOMASK,
COMPOSITION_MODE_BLEND_MODE_MASK,
- COMPOSITION_MODE_BLEND_MODE_NOMASK,
+ COMPOSITION_MODE_BLEND_MODE_NOMASK
};
enum FragmentMaskType {
FRAGMENT_PROGRAM_MASK_TRAPEZOID_AA,
- FRAGMENT_PROGRAM_MASK_ELLIPSE_AA,
+ FRAGMENT_PROGRAM_MASK_ELLIPSE_AA
};
static const unsigned int num_fragment_variables = 19;