mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Remove non-compliant float suffix in NV12 fragment shader
The 'f' suffix isn't supported until ESSL 3.0.
This commit is contained in:
@@ -16,5 +16,5 @@ void main() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
YCbCr -= offset;
|
YCbCr -= offset;
|
||||||
gl_FragColor = vec4(clamp(yuvmat * YCbCr, 0.0, 1.0), 1.0f);
|
gl_FragColor = vec4(clamp(yuvmat * YCbCr, 0.0, 1.0), 1.0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user