Skip to main content
gamedev.net
🔒 Locked

create big surface error !

Started by lakibuk 2 replies 500+ views
Original Post
lakibuk
lakibuk
Wrote a game, display size 640x480x24. I use an offscreen-plain surface with the size of 800x600. On my PC the game runs properly. But i tried it on 2 other PCs, there the creation of the 800x600 surface fails, if i make it smaller,it works. Is there a problem,because 800x600 is bigger than the display size ? Why does it run on my PC and not on the other ones ?
Spellbound
Spellbound
You are probably trying to create the surfaces in videomemory, many older graphic cards don''t have that much onboard memory.
Ridcully
Ridcully
some old systems don''t support surfaces that are wider than the primary surface (wide surfaces)
check for that flag, i think it''s a member of the surfacecaps structure

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.