Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -169,7 +169,9 @@ int W3DTreeBuffer::W3DTreeTextureClass::update(W3DTreeBuffer* buffer)
}
Int i, j;
for (j = 0; j < tilePixelExtent; j++) {
UnsignedByte* pBGR = pTile->getRGBDataForWidth(tilePixelExtent);
UnsignedByte* pTileRGB = pTile->getRGBDataForWidth(tilePixelExtent);
if (!pTileRGB) continue;
UnsignedByte* pBGR = pTileRGB;
pBGR += (tilePixelExtent - (1 + j)) * TILE_BYTES_PER_PIXEL * tilePixelExtent; // invert to match.
Int row = position.y + j;
UnsignedByte* pBGRA = ((UnsignedByte*)locked_rect.pBits) +
Expand DownExpand Up@@ -1989,4 +1991,8 @@ void W3DTreeBuffer::loadPostProcess()








Expand Down
Loading