The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_surface max width limit?
AbdelOuery


Joined: 28 Aug 2014
Posts: 4
Location: Morocco
Hello,
I'm trying to render a 3000*600 pixels background image, but all i get is a black screen, but when i try 2000*600 it's works fine, i can see the image, it also doesn't work for 2500 width images, any suggestions.
P.S: I tried rendering two 2000 width images one after another, but when i reach the second image coordinates, guess what "tha black screen again".
Thanks
Naith


Joined: 03 Jul 2014
Posts: 158
Shouldn't be any problem with rendering a surface of that size. maybe you can show your rendering code since there might be a problem with your code and not with your image.