const & is a bit faster here

This commit is contained in:
Albert Astals Cid 2019-03-08 15:18:24 +01:00
parent 4692a34a1c
commit 26b796f67d

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;