I'm currently trying to run a modern OpenGL program and am using SFML to handle my window, but I'm running into an error with GLSL. It gives me a warning:
WARNING: 0:29: Only GLSL version > 110 allows postfix "F" or "f" for float
Although my GLSL shaders specifically say at the top:
#version 330 core
and my SFML window context settings read:
sf::Window window(sf::VideoMode(800,600), //declare window
"Particle Simulation", //window title
sf::Style::Default,
sf::ContextSettings(32, 8, 0, 3, 3)
);
I checked and my graphics card does support OpenGL 3.3 and higher, so it seems i'm doing something wrong with either SFML or reading in my shaders
what am I doing wrong?