pixelated textures?

Blitz3D Forums/Blitz3D Programming/pixelated textures?

i checked it out in the combination of the dx7 sdk to get the constances values and it didnt work
Graphics3D 1024, 768, 32, 2
SetBuffer BackBuffer()

CreateCamera()
c = CreateCube()
PositionEntity c, 0, 0, 3
EntityTexture c, LoadTexture("Test.png")
CreateLight

Const D3DTSS_MINFILTER = 17
Const D3DTSS_MAGFILTER = 16
Const D3DTSS_MIPFILTER = 18
Const D3DTFN_POINT = 1
Const D3DTFG_POINT = 1
Const D3DTFP_NONE = 1
;for (n=0;n<8;n++)
;{
;d3d7->SetTextureStageState( n,D3DTSS_MINFILTER,D3DTFN_POINT );
;d3d7->SetTextureStageState( n,D3DTSS_MAGFILTER,D3DTFG_POINT );
;d3d7->SetTextureStageState( n,D3DTSS_MIPFILTER,D3DTFP_NONE );
;} 
For i = 0 To 7
	DX7_SetTextureStageState(i, D3DTSS_MINFILTER, D3DTFN_POINT)
	DX7_SetTextureStageState(i, D3DTSS_MAGFILTER, D3DTFG_POINT)
	DX7_SetTextureStageState(i, D3DTSS_MIPFILTER, D3DTFP_NONE)
Next

While Not KeyHit(1)
	TurnEntity c, 1, 1, 1
	RenderWorld
	Flip
Wend
End