Browse Source

obs-filters: Fix compiler warnings

static should come before const.

Closes jp9000/obs-studio#778
Alexandre Vicenzi 8 years ago
parent
commit
b6bbdee049
1 changed files with 4 additions and 5 deletions
  1. 4 5
      plugins/obs-filters/color-correction-filter.c

+ 4 - 5
plugins/obs-filters/color-correction-filter.c

@@ -70,11 +70,10 @@ struct color_correction_filter_data {
 	struct vec3                     half_unit;
 };
 
-const static float root3 = 0.57735f;
-const static float red_weight = 0.299f;
-const static float green_weight = 0.587f;
-const static float blue_weight = 0.114f;
-
+static const float root3 = 0.57735f;
+static const float red_weight = 0.299f;
+static const float green_weight = 0.587f;
+static const float blue_weight = 0.114f;
 
 /*
  * As the functions' namesake, this provides the internal name of your Filter,