Same color using writepixel vs plot

BlitzMax Forums/BlitzMax Beginners Area/Same color using writepixel vs plot

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.

Given...
pixcolor="some long integer"
pixred=(pixcolor & $00FF0000) Shr 16
pixgreen=(pixcolor & $FF00) Shr 8
pixblue=(pixcolor & $FF)
If I did...
writepixel SomePixMap,0,0,pixcolor
and...
setcolor pixred,pixgreen,pixblue
now...
If I did a plot 0,0
or...
DrawPixmap SomePixMap,0,0
would this "always" (endian) result in the same color on screen?
If not, how could I make sure it will?

[edit]
And how about, if I used an image instead of a PixMap?