ClearTextureFilters() + alpha flag = MAV on Vista

Blitz3D Forums/Blitz3D Bug Reports/ClearTextureFilters() + alpha flag = MAV on Vista

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The following code produces a Memory Access Violation with B3D v1.98 on Vista.

Graphics3D 800,600,0,2

ClearTextureFilters()
Cursor = LoadTexture("texture.png" ,2)

End


It only occours when you use ClearTextureFilters among with LoadTexture using the alpha flag. I was very surprised when I noticed it, since it's an extremely common situation.

I tested it with B3D 1.89 as well and it runs fine instead of crashing. It doesn't seem to affect Windows XP, since it ran fine with either versions of B3D.

I don't have other Vista PC's to test the bug with... could anyone with Vista kindly test it and post the results?


Test machine: AMD X2 5200, ATI 1950 Pro (latest Catalyst), 2gb RAM, Vista Ultimate (all updates installed, UAC disabled), DirectX 9.0c (latest distribution).