| 455 | } |
| 456 | |
| 457 | BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_CreateDynTexture(int width, int height) |
| 458 | { |
| 459 | Texture* texture = gBFApp->mRenderDevice->CreateDynTexture(width, height); |
| 460 | |
| 461 | TextureSegment* aTextureSegment = new TextureSegment(); |
| 462 | aTextureSegment->InitFromTexture(texture); |
| 463 | return aTextureSegment; |
| 464 | } |
| 465 | |
| 466 | BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_LoadTexture(const char* fileName, int flags) |
| 467 | { |
nothing calls this directly
no test coverage detected