From 940b24a84b86f05dd685033bda8e42b118541116 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 13 Nov 2018 07:08:11 -0500 Subject: gl_state: Amend compilation warnings Makes float -> integral conversions explicit via casts and also silences a sign conversion warning. --- src/video_core/renderer_opengl/gl_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/renderer_opengl/gl_state.h') diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index eacca0b9cd..e5d1baae6e 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -208,7 +208,7 @@ private: void ApplyPrimitiveRestart() const; void ApplyStencilTest() const; void ApplyViewport() const; - void ApplyTargetBlending(int target, bool force) const; + void ApplyTargetBlending(std::size_t target, bool force) const; void ApplyGlobalBlending() const; void ApplyBlending() const; void ApplyLogicOp() const; -- cgit v1.2.3