| 657 | static DefaultVertex3D* gCurAllocVertices = NULL; |
| 658 | |
| 659 | BF_EXPORT void BF_CALLTYPE Gfx_AllocTris(TextureSegment* textureSegment, int vtxCount) |
| 660 | { |
| 661 | gCurTextureSegment = textureSegment; |
| 662 | DrawLayer* drawLayer = gBFApp->mRenderDevice->mCurDrawLayer; |
| 663 | drawLayer->SetTexture(0, textureSegment->mTexture); |
| 664 | gCurAllocVertices = (DefaultVertex3D*)gBFApp->mRenderDevice->mCurDrawLayer->AllocTris(vtxCount); |
| 665 | } |
| 666 | |
| 667 | BF_EXPORT void BF_CALLTYPE Gfx_SetDrawVertex(int idx, float x, float y, float z, float u, float v, uint32 color) |
| 668 | { |
nothing calls this directly
no test coverage detected