File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Userland/Libraries/LibGfx Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ namespace Detail {
22
22
23
23
template <unsigned SampleCount>
24
24
struct NoAA {
25
- static inline constexpr unsigned SamplesPerPixel = SampleCount;
25
+ static constexpr unsigned SamplesPerPixel = SampleCount;
26
26
27
27
static u8 coverage_to_alpha (u8 coverage)
28
28
{
@@ -32,7 +32,7 @@ struct NoAA {
32
32
33
33
template <unsigned SampleCount>
34
34
struct AA {
35
- static inline constexpr unsigned SamplesPerPixel = SampleCount;
35
+ static constexpr unsigned SamplesPerPixel = SampleCount;
36
36
37
37
static u8 coverage_to_alpha (u8 coverage)
38
38
{
@@ -71,7 +71,6 @@ struct Sample8x : AAMode<8> {
71
71
72
72
template <template <unsigned SamplesPerPixel> class AAMode >
73
73
struct Sample16x : AAMode<16 > {
74
- static inline constexpr unsigned SamplesPerPixel = 8 ;
75
74
using Type = u16 ;
76
75
static constexpr Array nrooks_subpixel_offsets {
77
76
(1 .0f / 16 .0f ),
@@ -153,7 +152,7 @@ class EdgeFlagPathRasterizer {
153
152
154
153
private:
155
154
using SampleType = typename SubpixelSample::Type;
156
- static inline constexpr unsigned SamplesPerPixel = SubpixelSample::SamplesPerPixel;
155
+ static constexpr unsigned SamplesPerPixel = SubpixelSample::SamplesPerPixel;
157
156
158
157
struct EdgeExtent {
159
158
int min_x;
You can’t perform that action at this time.
0 commit comments