1
Graphics / Re: SegFault in Texture.cpp (Intel Graphics)
« on: May 31, 2022, 11:22:55 pm »
I'm not an OpenGL guru, but it looks like glFramebufferTexture2D is not supported by OpenGL 2.1:
Khronos docs:
SFML\Graphics\GLExtensions.hpp:
So, does SFML require OpenGL 3.0? If no and if we have 2.1 in the ContextSettings, why does Texture::update() call the unsupported function?
Khronos docs:
SFML\Graphics\GLExtensions.hpp:
// Line 262
// Core since 3.0 - EXT_framebuffer_object
// Line 272
#define GLEXT_glFramebufferTexture2D glFramebufferTexture2DEXT
// Core since 3.0 - EXT_framebuffer_object
// Line 272
#define GLEXT_glFramebufferTexture2D glFramebufferTexture2DEXT
So, does SFML require OpenGL 3.0? If no and if we have 2.1 in the ContextSettings, why does Texture::update() call the unsupported function?