SFML community forums

Help => Window => Topic started by: kurasu1415 on July 22, 2012, 04:10:48 am

Title: Hardware acceleration for SFML drawing?
Post by: kurasu1415 on July 22, 2012, 04:10:48 am
Hey guys,
Does anyone know if there is a setting somewhere that enables hardware acceleration and double buffering for SFML2 drawing? I just want to be able to make an sf::polygon and have that accelerated instead of having to do all of my 2D drawing in OpenGL.

Thanks!
Title: Re: Hardware acceleration for SFML drawing?
Post by: Hiura on July 22, 2012, 09:42:14 am
SFML uses OpenGL so if your OpenGL renderer is on hardware (which is most probably true nowadays; i.e., it's not a software renderer) then SFML will automatically be hardware accelerated. You don't need to do any extra work here.
Title: Re: Hardware acceleration for SFML drawing?
Post by: kurasu1415 on July 29, 2012, 11:40:18 pm
Yeah, my video drivers in Mint Linux were not working properly. got it all fixed now. Regardless I am just going to use straight OpenGL to draw.