obs-filters: Fix compiler warnings

static should come before const.

Closes jp9000/obs-studio#778
This commit is contained in:
Alexandre Vicenzi
2017-01-27 00:09:46 -02:00
committed by jp9000
parent 94d4698c7f
commit b6bbdee049

View File

@@ -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,