Fvf dx9

 

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Fvf dx9

Ive actually managed to get DirectX 9 working with Direct X, however i am now getting odd error messages around a function. I can't see any syntax issues myself but thought i'd check to see if anyone can shed any light on it.

g_pd3dDevice->CreateVertexBuffer( 3 * sizeof(CUSTOMVERTEX) , 0, D3DFVF_CUSTOMVERTEX, D3DPOOL_DEFAULT, &g_pVB, NULL);

These are the error messages. Removing the above line, the program compiles correctly, so it seems something to do with how Dev C++ handles this function.

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.