Hi All, thx in advance.
I am creating a TBGRABitmap using:
Spr:=TBGRABitmap.Create(sfilename);
As expected this creates an image whoch can be drawn on a canvas.
I then want to use this image as a base for an IBGLtexture (mainly because I want to use animated sprites and so far have only got animated textures working?)
When I do this
MyTexture:=IBGLTexture(Spr.Bitmap);
It throws an error stating bitmap no the correct size?
I am drawing to a virtual screen btw.
Ideally what I want is to be able to load a bunch of images as TBGRABitmaps and display these in a list (no issues here)' then drag and drop them onto the virtual screen, which so far crashes.
Even drawing the Spr to the virtual screen's TBitmap does not work?