CreateStaticPixmap - Pitch Parameter?

BlitzMax Forums/BlitzMax Programming/CreateStaticPixmap - Pitch Parameter?

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.

I'm trying to use CreateStaticPixmap() to grab a pixmap from an image loaded with devIL, but I'm a bit hazy on exactly what Blitz is expecting the pitch parameter to be. I'm guessing that it's BYTES multiplied by width, but I'm not 100% sure. Is that right or should it be bits?