| 445 | /// |
| 446 | |
| 447 | BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_CreateRenderTarget(int width, int height, int destAlpha) |
| 448 | { |
| 449 | Texture* texture = gBFApp->mRenderDevice->CreateRenderTarget(width, height, destAlpha != 0); |
| 450 | texture->mResetClear = true; |
| 451 | |
| 452 | TextureSegment* aTextureSegment = new TextureSegment(); |
| 453 | aTextureSegment->InitFromTexture(texture); |
| 454 | return aTextureSegment; |
| 455 | } |
| 456 | |
| 457 | BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_CreateDynTexture(int width, int height) |
| 458 | { |
nothing calls this directly
no test coverage detected