create big surface error !
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 ?
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
check for that flag, i think it''s a member of the surfacecaps structure
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement