const & is a bit faster here

This commit is contained in:
Albert Astals Cid
2019-04-17 17:37:28 +02:00
parent 4692a34a1c
commit 26b796f67d
+1 -1
View File
@@ -82,7 +82,7 @@ void K_IStream::clear()
* format into the normal 32 bit pixel format. Process is from the * format into the normal 32 bit pixel format. Process is from the
* ILM code. * ILM code.
*/ */
QRgb RgbaToQrgba(struct Imf::Rgba imagePixel) QRgb RgbaToQrgba(struct Imf::Rgba &imagePixel)
{ {
float r, g, b, a; float r, g, b, a;