OpenGL vs DirectX Texture Management

BlitzMax Forums/BlitzMax Beginners Area/OpenGL vs DirectX Texture Management

This version gives me white squares in OpenGL mode:
SuperStrict
'SetGraphicsDriver D3D7Max2DDriver()
SetGraphicsDriver GLMax2DDriver()
Graphics(800,600,0,60)
Global t1:TImage
t1 = New TImage
'
While Not KeyDown(KEY_ESCAPE)
 Cls()
 t1= LoadImage("t1.jpg",0) ' any image, but try one 1024x1024
 DrawImage(t1,MouseX(),MouseY())
 Flip(1)
 t1=Null
 GCCollect()
Wend
EndGraphics()
End