Blender Git Loki

Git Commits -> Revision 2982c9b

Revision 2982c9b by Jeroen Bakker (master)
March 19, 2020, 14:26 (GMT)
ColorManagement: Incorrect Memory Read for RGB images

When RGB images or BW images are converted to a GPU texture and color
space conversion was needed the images were read incorrectly.

This patch checks the correct amount of channels in the image and uses
that as the correct pixel stride.

Commit Details:

Full Hash: 2982c9ba0a9c2152cb676bc4bb71a319f8f18ad8
Parent Commit: 9ace7e2
Lines Changed: +1, -1

1 Modified Path:

/source/blender/imbuf/intern/colormanagement.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021