Graphics/incbin trouble

BlitzMax Forums/BlitzMax Programming/Graphics/incbin trouble

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.

If I use pixmaps instead of images it works in opengl

Function load_media()

  Local index,x,y,r
  Local _huck1:TPixmap=LoadPixmap("data\hero01.png")
  Local _huck2:TPixmap=LoadPixmap("data\hero02.png")
  Local _huck3:TPixmap=LoadPixmap("data\hero03.png")
  Local _huck4:TPixmap=LoadPixmap("data\hero04.png")
  Cls
  DrawPixmap _huck1,0,0
'  Flip; Delay 1000
  x=1; y=1; r=1
  For index=0 To 23
    GrabImage _hucksprite,x,y,index
    x:+101; r:+1
    If r>6 r=1; x=1; y:+101
  Next
  Cls
  x=1; y=1; r=1
  DrawPixmap _huck2,0,0
'  Flip; Delay 1000
  For index=24 To 47
    GrabImage _hucksprite,x,y,index
    x:+101; r:+1
    If r>6 r=1; x=1; y:+101
  Next
  Cls
  DrawPixmap _huck3,0,0
'  Flip; Delay 1000
  x=1; y=1; r=1
  For index=48 To 56
    GrabImage _hucksprite,x,y,index
    x:+101; r:+1
    If r>6 r=1; x=1; y:+101
  Next
  x=2; y=207
  For index=0 To 6
    GrabImage _dustexplode,x,y,index
    x:+79
  Next
  Cls
  DrawPixmap _huck4,0,0
'  Flip; Delay 1000
  x=1; y=1; r=1
  For index=0 To 92
    GrabImage _backsprite,x,y,index
    x:+41; r:+1
    If r>15 Then r=1; x=1; y:+41
  Next
  x=249
  For index=0 To 3
    GrabImage _rocksprite,x,290,index
    x:+41
  Next
  GrabImage _lightsprite,415,320,0
  GrabImage _lightsprite,508,320,1
  mselect_=LoadSound("data\menusnd.wav")
  thrust_=LoadSound("data\vthrust.wav")
  hardland_=LoadSound("data\hardland.wav")
  footsteps_=LoadSound("data\footsteps.wav")
  headbonk_=LoadSound("data\headbonk.wav")
  wallbonk_=LoadSound("data\wallbonk.wav")
  huckroll_=LoadSound("data\huckroll.wav")
  gulpburp_=LoadSound("data\gulpburp.wav")
  puffyeah_=LoadSound("data\puffyeah.wav")
  lighthit_=LoadSound("data\lanternhit.wav")
  bombhit_=LoadSound("data\40bomb.wav")
  explode_=LoadSound("data\explode1.wav")
  needsmoke_=LoadSound("data\needsmoke.wav")
  needdrink_=LoadSound("data\needdrink.wav")

End Function


I really dont understand why it worked fine this morning but now I get this white texture problem when loaded as images.

*EDIT*
Are Pixmaps stored in system memory, instead of video memory?