create big surface error !

Started by
2 comments, last by lakibuk 24 years, 2 months ago
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 ?
Karl - Blueskied Games | my german site: Gratis Spiele
Advertisement
You are probably trying to create the surfaces in videomemory, many older graphic cards don''t have that much onboard memory.
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
yeh,it was the wide surface problem...
thx
Karl - Blueskied Games | my german site: Gratis Spiele

This topic is closed to new replies.

Advertisement