What module(s) do I need to create PixMaps?

BlitzMax Forums/BlitzMax Beginners Area/What module(s) do I need to create PixMaps?

Try to load something like this:

Framework brl.glmax2d '<---- This is a must when needed
Import brl.pixmap ' Sometimes seems not to load
Import brl.standardIO ' properly when it doesn't stay in
.. top.



I'm already importing standardIO and pixmap. I tried glmax2d as well, but I'm not actually using any 2d stuff. It's all raw opengl.

Sybixsus, Can you show any sample code?


There's actually quite a lot of code and I don't think any of it is revelant. Unless you have to call an official blitz command before creating a pixmap ( which would be odd, since you don't before loading one ) it's literally just dropping on the createpixmap command.

I'll see if I can cut it down to a more manageable chunk of code to post that still doesn't work. Maybe it's the pixel format that's wrong? I just copied that from somewhere.

TextureImage.Create(W,H,PF_RGBA8888)


W and H are both powers of 2.