Textured Poly in DirectX?

BlitzMax Forums/BlitzMax Programming/Textured Poly in DirectX?

CyBeRGoth(Posted 2009) [#1]
Hi

Does anyone have an example of creating a textured polygon in BlitzMax using the D3D7Max2D or even D3D9 modules?

Cheers.


BlitzSupport(Posted 2009) [#2]
There's one here, though I had to comment out the If Driver.islost Return line:

TexturedPoly

(There's a note from Warpy at the bottom regarding a fix for scaling.)


CyBeRGoth(Posted 2009) [#3]
Cheers BlitzSupport just what I was looking for :)


Warpy(Posted 2009) [#4]
I knew someone else would find it quicker than I could!