GetColor bug ?

BlitzPlus Forums/BlitzPlus Programming/GetColor bug ?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

blah()
SetBuffer DesktopBuffer()

Function blah()
	image=CreateImage(64,64)
	SetBuffer ImageBuffer(image)
	Color 100, 120, 140
	Plot 0,0
	GetColor 0,0
	Notify " RGB = " + ColorRed() + " " + ColorGreen() + " " + ColorBlue()	
	FreeImage(image)
End Function


You can get info. Just make sure you set to a none image buffer before exiting. ("SetBuffer DesktopBuffer()")