SFML community forums
Help => Graphics => Topic started by: oscar0204 on July 30, 2019, 08:23:08 am
-
Hi!
I am using SFML 2.5.1 with Visual Studio 2019 and everything is working as it should, but everytime I open a sf::Window I get a warning in my console:
Warning: Detected "Microsoft Corporation GDI Generic" OpenGL implementation
The current OpenGL implementation is not hardware-accelerated
Setting vertical sync not supported
OpenGL extension SGIS_texture_edge_clamp unavailable
Artifacts may occur along texture edges
Ensure that hardware acceleration is enabled if available
I am guessing the problem is cause I am using integrated intel graphics, but is there someway I can surpress this warning? I am using the console for some outputs so it would be nice if the warning wasn't there.
-
Installing a proper OpenGL driver (as far as Intel OpenGL drivers can be "proper") should fix it.
-
Unfortunately I'm on my work computer and I can't install stuff without authorization. Is there a way to just surpress the warning?
-
SFML offers no option to suppress this message. A workaround would be to redirect sf::err() to a null output, create the window, then restore the previous output of sf::err(). With the risk of missing any other important information printed during window creation.