max2d issue

BlitzMax Forums/MiniB3D Module/max2d issue

jkrankie(Posted 2009) [#1]
one of my users is having a problem running my game. here's a picture of what he's getting:



All those white rectangles are supposed to be images draw in a beginmax2d()/endmax2d() bit. His computer is well up to spec, and his graphics card has the latest drivers. He says he's getting one frame every 15 seconds, but in a test program i sent him using only MiniB3d commands he gets the full 60.

Has anyone else encountered this issue? Or what do you think could be causing the issue here?

Cheers
Charlie


ima747(Posted 2009) [#2]
can you make him a test in bmax not using minib3d? or try pictures in a different format.


xlsior(Posted 2009) [#3]
Sounds liks it's using software rendering instead of hardware accelerated...
What kind of videocard does the computer have? How much video memory?

the white rectangles could indicate that he's out of video memory.


Brucey(Posted 2009) [#4]
the white rectangles could indicate that he's out of video memory.

That's the most likely reason.

The other would be caused by a "flaw" in BlitzMax's code which resizes textures.
There's code examples on the forums for a fix. I also patched my wxglmax2d code, which solved similar issues for people using canvases.


jkrankie(Posted 2009) [#5]
Ok, these seem like good suggestions.

Have you got a link to the resizing textures issue?

Cheers
Charlie


jkrankie(Posted 2009) [#6]
Got this sorted now, he actually had downloaded the wrong driver!

Cheers
Charlie