Fix obvious logic error
Change-Id: I377036a4ae773f53cdc833efbcd69202c1f479e9 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
This commit is contained in:
parent
4f2084947a
commit
a122617ac1
|
|
@ -269,7 +269,7 @@ void Atlas::uploadBgra(Texture *texture)
|
|||
QImage image = texture->image();
|
||||
|
||||
if (image.format() != QImage::Format_ARGB32_Premultiplied
|
||||
|| image.format() != QImage::Format_RGB32) {
|
||||
&& image.format() != QImage::Format_RGB32) {
|
||||
image = image.convertToFormat(QImage::Format_ARGB32_Premultiplied);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue