#include <math.h>
#include <assert.h>
+#include <GL/glew.h>
#include <Eigen/LU>
#include "white_balance_effect.h"
#include "util.h"
-#include "opengl.h"
#include "d65.h"
using namespace Eigen;
}
// Assuming sRGB primaries, from Wikipedia.
-double rgb_to_xyz_matrix[9] = {
+const double rgb_to_xyz_matrix[9] = {
0.4124, 0.2126, 0.0193,
0.3576, 0.7152, 0.1192,
0.1805, 0.0722, 0.9505,