mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
DX9: fixed cubemap upload.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user