SFML community forums
Help => Graphics => Topic started by: koolgraph on June 06, 2011, 06:13:09 am
-
is There any restriction regarding the size limit of an sf::Image ?
-
Yes, it is limited to sf::Image::GetMaximumSize(), which depends on your graphics card and driver.
-
i see... So what if i put an image too large for the client graphic card ?
i also don't see GetMaximumSize(), note that i'm on 1.6
-
i see... So what if i put an image too large for the client graphic card ?
Loading will fail.
i also don't see GetMaximumSize(), note that i'm on 1.6
Oh, ok so it's probably only in SFML 2. If you want to do something similar with SFML 1.6 you can use the underlying OpenGL call directly.