SFML community forums

Help => Graphics => Topic started by: t0rento on February 16, 2009, 10:32:54 am

Title: Image is too large
Post by: t0rento on February 16, 2009, 10:32:54 am
On some machines I get a error in the console "Error image is too large (1024x4320)" but on my own I do not.

What is the cause of this and how can I fix it?
Title: Image is too large
Post by: Laurent on February 16, 2009, 12:52:37 pm
This is a limitation of the OpenGL driver, I can't do much about it. You have to either scale down your image, or split it in several sub-images.
Title: Image is too large
Post by: t0rento on February 16, 2009, 01:14:52 pm
Ah I see, so computers with an older OpenGL driver are going to have issues?
Title: Image is too large
Post by: Laurent on February 16, 2009, 01:56:28 pm
Absolutely. I think 1024x1024 should be the maximum for your images if you plan to make a program which is compatible with a wide range of graphics cards.