WPrefs: changed renderTexture to always fallback to solid black when image can't...
commit8c6525a2b7870e1bc0bcbddf11c11e09054f389e
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 19 May 2014 17:51:28 +0000 (19 19:51 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 19 May 2014 18:02:10 +0000 (19 19:02 +0100)
tree8b7aa50fdcb301e82043bd11e25b3191b5db8890
parent1a01ac103f6d0f890d0a3846a1b06eb09bf0a4db
WPrefs: changed renderTexture to always fallback to solid black when image can't be loaded

As raised by Carlos R. Mafra and Doug Torrance, when an image is used in a
texture but the image cannot be loaded, there are some case where WPrefs
misbehaves.
This patch display a warning in every case where the image could not be
loaded, and always switch to black texture as a fallback, which was not the
case previously.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WPrefs.app/Appearance.c