LoadImage() flags and DX

BlitzMax Forums/BlitzMax Programming/LoadImage() flags and DX

The LoadImage() flags don't seem to be functioning correctly under DX...

Strict

'SetGraphicsDriver GLMax2DDriver() ' FILTEREDIMAGE and MIPMAPPEDIMAGE work as expected
'SetGraphicsDriver BufferedD3D7Max2DDriver() ' FILTEREDIMAGE ignored? MIPMAPPEDIMAGE seems to be filtered too?
'SetGraphicsDriver D3D7Max2DDriver() ' FILTEREDIMAGE ignored? MIPMAPPEDIMAGE seems to be filtered too?

Graphics 640, 480, 0
AutoMidHandle True
 
Local BMXPATH$ = getenv_("BMXPATH")

'Local image:TIMAGE = LoadImage(BMXPATH$ + "/doc/bmax120.png", MIPMAPPEDIMAGE)
Local image:TIMAGE = LoadImage(BMXPATH$ + "/doc/bmax120.png", FILTEREDIMAGE)
Assert image, "no piccy"

Repeat
    Cls

    SetRotation MilliSecs() / 100.0
    DrawImage image, 320, 240
    
    Flip
Until AppTerminate()

End
Anyone else seeing this? (just using FILTEREDIMAGE)


[edit]
I'm using v1.14 and did a sync-mods about 20 minutes after this original post...Still the same ;o)
[/edit]

Anyone tried this?

I tried it on my laptop and it looks OK for me for both GL and DX drivers.

The DX flags were changed to match the openGL default flags in the latest syncmods (desired behaviour).

If you suspect this isn't taking place then make a bug report. But watch out for opengl still looking slightly different anyway - drivers will do that.

When both flags are enabled, both images should be smooth.

Yeah, I'm aware of the recent changes, which is why I didn't stick this straight in as a bug report. I'm not really sure if this is expected or or not, even thought it doesn't seem right to me.

Are you seeing the same thing OEJ?

@tonyg - Ta for testing...and...Hmmmm ;o)

YanCanCode, Just did another syncmod and I *DO* recreate the problem.
Sorry, thought this one was up-to-date but apparently not.
Does prove that last syncmod with dx and gl drivers causes the problem.

Okay, cheers Tony. I'll post a bug report.

[edit]
Blimey...That was quick! :o)
[/edit]