Skip to main content
gamedev.net
🔒 Locked

error creating vertex buffer

Started by ianic Apr 15, 2004 at 10:46 AM 0 replies 250+ views
Original Post
ianic
ianic
hey problem with creating vertex buffer #define WALL_VERT_NUM 10; #define D3DFVF_WALLVERTEX (D3DFVF_XYZ | D3DFVF_TEX2 ); m_pVBWalls= NULL; if( FAILED( pd3dDevice->CreateVertexBuffer( WALL_VERT_NUM * sizeof(WALLVERTEX), 0, D3DFVF_WALLVERTEX, D3DPOOL_MANAGED, m_pVBWalls, NULL ) ) ) { return E_FAIL; } shows error error C2660: ''IDirect3DDevice9::CreateVertexBuffer'' : function does not take 1 arguments error C2100: illegal indirection can someone help... tar

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.