Should not memory be H*W*color depth ?
Example 1024x768x4(RGBA) = 3145728, but game does
1024x768x2=1572864.
If have 1600x1200x4, then that is 7.68MB, but game has 3.84MB .
Even with 1600x1200x3 (RGB) = 5.76MB.
The confuse part is DisplayBuffer is used to load wrf, .gam and
other file types. What has this to do with what your resolution is?
SDL does correct calculation for screen space, so I no understand
this?
displayBufferSize =
pie_GetVideoBufferWidth()*pie_GetVideoBufferHeight()*2;
if (displayBufferSize < 5000000)
{
displayBufferSize = 5000000;
}
--
Click to find great rates on medical insurance, save big, shop here
http://tagline.hushmail.com/fc/Ioyw6h4d8QM6aDwbVnfatJnbU5wWQfe6kwTHirdIScYQ6Lp8hI3ZqW/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev