public override void Blit( HardwarePixelBuffer src, BasicBox srcBox, BasicBox dstBox )
{
GLESTextureBuffer srct = (GLESTextureBuffer)src;
/// TODO: Check for FBO support first
/// Destination texture must be 2D
/// Source texture must be 2D
if ( ( ( (int)src.Usage & (int)TextureUsage.RenderTarget ) != (int)TextureUsage.RenderTarget ) && ( srct._target == All.Texture2D ) )
{
BlitFromTexture( srct, srcBox, dstBox );
}
else
{
base.Blit( src, srcBox, dstBox );
}
}
/// <summary>