Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[cosmetic] yuv2rgbshader: fix "truncation from 'double' to 'float'^" …

…warnings
  • Loading branch information...
commit d9adba792030964b5006524c9ade8a41fc98fdf1 1 parent 14834ab
@Montellese Montellese authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/cores/VideoRenderers/VideoShaders/YUV2RGBShader.cpp
View
6 xbmc/cores/VideoRenderers/VideoShaders/YUV2RGBShader.cpp
@@ -120,9 +120,9 @@ void CalculateYUVMatrix(TransformMatrix &matrix
if(format == RENDER_FMT_YUV420P10)
{
- matrix *= TransformMatrix::CreateScaler(65535.0 / 1023.0
- , 65535.0 / 1023.0
- , 65535.0 / 1023.0);
+ matrix *= TransformMatrix::CreateScaler(65535.0f / 1023.0f
+ , 65535.0f / 1023.0f
+ , 65535.0f / 1023.0f);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.