1
Window / Confusion with modern OpenGL
« on: July 26, 2016, 06:22:44 pm »
Dear community,
so is it possible to use modern OpenGL with SFML?
If so, how do you do it?
I don't seem to be able to get my code running, not creating a context with GLEW.
I even tried using the SFML-core attribute in the ContextSettings, but that didn't change anything.
So if I don't use my own GLEW context the program crashes at
Is it supposed to crash here or did I do a mistake somewhere?
I am using mostly modified code from learn-opengl.com .
Thank you for your time and help,
--Zuzu_Typ--
so is it possible to use modern OpenGL with SFML?
If so, how do you do it?
I don't seem to be able to get my code running, not creating a context with GLEW.
I even tried using the SFML-core attribute in the ContextSettings, but that didn't change anything.
So if I don't use my own GLEW context the program crashes at
Code: [Select]
glBindTexture(GL_TEXTURE_2D, 0);
Is it supposed to crash here or did I do a mistake somewhere?
I am using mostly modified code from learn-opengl.com .
Thank you for your time and help,
--Zuzu_Typ--