mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
readTexture mip support / D3D9 / D3D11
This commit is contained in:
@@ -2370,10 +2370,11 @@ namespace bgfx { namespace gl
|
||||
{
|
||||
}
|
||||
|
||||
void readTexture(TextureHandle _handle, void* _data) BX_OVERRIDE
|
||||
void readTexture(TextureHandle _handle, void* _data, uint8_t _mip) BX_OVERRIDE
|
||||
{
|
||||
if (m_readBackSupported)
|
||||
{
|
||||
_mip;
|
||||
const TextureGL& texture = m_textures[_handle.idx];
|
||||
const bool compressed = isCompressed(TextureFormat::Enum(texture.m_textureFormat) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user