forked from teamnwah/openmw-tes3coop
fix regarding last commit
This commit is contained in:
parent
0d4e3b8e75
commit
461ec9f3d6
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ namespace MWRender
|
|||
const unsigned char b = colours[colourOffset + 2];
|
||||
|
||||
//as is the case elsewhere we need to flip the y
|
||||
const size_t imageOffset = (size - 1 - y)*size*3 + x*3;
|
||||
const size_t imageOffset = (size - 1 - y)*size*4 + x*4;
|
||||
pDest[imageOffset + 0] = b;
|
||||
pDest[imageOffset + 1] = g;
|
||||
pDest[imageOffset + 2] = r;
|
||||
|
|
Loading…
Reference in a new issue