From ca5ec392949542e90d6fc1bc51f57123256760c6 Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 8 Jul 2015 23:30:51 -0400 Subject: [PATCH] fixup! vertex_shader: Optimized SIMD-based vertex shader interpreter for x86 systems. --- src/video_core/vertex_shader_simd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/vertex_shader_simd.cpp b/src/video_core/vertex_shader_simd.cpp index 5c46170da..3276d4f71 100644 --- a/src/video_core/vertex_shader_simd.cpp +++ b/src/video_core/vertex_shader_simd.cpp @@ -2,7 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include +#include #include #include @@ -193,7 +193,7 @@ static inline bool EvaluateCondition(const CoreState& state, bool refx, bool ref }; void InitCore(CoreState& state) { - memcpy(&state.uniform[0].x, g_state.vs.uniforms.f, sizeof(state.uniform)); + std::memcpy(&state.uniform[0].x, g_state.vs.uniforms.f, sizeof(state.uniform)); } VertexShader::OutputVertex RunShader(CoreState& state, const VertexShader::InputVertex& input, int num_attributes) {