mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
DX9: fixed cubemap upload.
This commit is contained in:
parent
e78dc677d5
commit
212937602a
1 changed files with 1 additions and 1 deletions
|
@ -1585,7 +1585,7 @@ namespace bgfx
|
|||
uint32_t mipSize = width*height*depth*bpp/8;
|
||||
|
||||
ImageMip mip;
|
||||
if (imageGetRawData(imageContainer, 0, lod, _mem->data, _mem->size, mip) )
|
||||
if (imageGetRawData(imageContainer, side, lod, _mem->data, _mem->size, mip) )
|
||||
{
|
||||
uint32_t pitch;
|
||||
uint32_t slicePitch;
|
||||
|
|
Loading…
Reference in a new issue