How set BMAP pointer if in function I use wait?
Example (this code dont work)
Code:
function create_my_bmap (BMAP* this)
{
	BMAP* fb = bmap_createblack (256,256,24);
	wait(1);
	// do something with fb
	...
	//
	wait(1);
	this = fb;
}

whistle

Last edited by XD1v0; 04/28/09 07:00.

A7 Commercial cool
Celeron 1700, GeForce 5500 FX 256mb, 1 Gb Ram