Quote:Original post by Gage64
I think the problem is because SDL_VideoInfo uses bitfields for a lot of its members (see here).
I'm not too familiar with those, but try this:
VIDEOlog << "-Video Information:\n\n" << "-hw_available:\t\t" << (g_pVideoInfo->hw_available == 1) << "\n" << "-wm_available:\t\t" << (g_pVideoInfo->wm_available == 1) << "\n" << // etc.
Only add the comparisons to the fields that have :1 to the right (see link above). For example, video_mem should be printed as usual.
It shows the exact same results. I ran it on my laptop also, dif OS etc shows exactly the same results. And I also use fprintf and still the same results lol
@JYK:
I believe this little test pretty much tells me what my system is capable of when it comes down to SDL, for example hw_available == 1 would be telling me I can draw in hardware mode as oppose to software mode which my 8800gt is capable of, hope I'm getting this right, I hate not being so sure haha So yeah i expect my system to be capable of most if not all of these things so they should be at 1 I believe.
Considering all this and it giving the same results on my laptop I must have some fault with my code somewhere or other hmm
Thanks for the feedback btw guys :)