diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-11-13 07:08:11 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-11-13 07:10:40 -0500 |
| commit | 9a0fb7d9fbe5bf855155b62030e589d503372303 (patch) | |
| tree | 9796890ec8fc3ec8e7eca7837a1addacffe8f9e1 /src/video_core/renderer_opengl/gl_state.h | |
| parent | 65bd03d74cbf4d8072239480404c6db83d41b27c (diff) | |
gl_state: Amend compilation warnings
Makes float -> integral conversions explicit via casts and also silences
a sign conversion warning.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index eacca0b9c..e5d1baae6 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; |
