The Simplest Draw...
Is anyone can provide me the simplest code, that will draw anyting (text, rectangle, circle, etc...) on CrossFire, without Xtrap error ?

FillRGB(pDevice, CenterX, CenterY-15, 3, 30,Red_);//Vertical line
VOID FillRGB( LPDIRECT3DDEVICE9 pDevice, INT x, INT y, INT w, INT h, D3DCOLOR color ){
D3DRECT rec = { x, y, x + w, y + h };
pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 );
}

