diff --git a/GPU/GLES/GPU_GLES.cpp b/GPU/GLES/GPU_GLES.cpp index acbd172dfa..5abe3d9274 100644 --- a/GPU/GLES/GPU_GLES.cpp +++ b/GPU/GLES/GPU_GLES.cpp @@ -183,7 +183,7 @@ void GPU_GLES::CheckGPUFeatures() { } if (gl_extensions.ARB_framebuffer_object || gl_extensions.NV_framebuffer_blit || gl_extensions.GLES3) { - features |= GPU_SUPPORTS_FRAMEBUFFER_BLIT; + features |= GPU_SUPPORTS_FRAMEBUFFER_BLIT | GPU_SUPPORTS_FRAMEBUFFER_BLIT_TO_DEPTH; } if (gl_extensions.ARB_vertex_array_object && gl_extensions.IsCoreContext) { features |= GPU_SUPPORTS_VAO; diff --git a/Windows/XinputDevice.cpp b/Windows/XinputDevice.cpp index f3f0ef32ce..5a4a636bf6 100644 --- a/Windows/XinputDevice.cpp +++ b/Windows/XinputDevice.cpp @@ -158,7 +158,7 @@ inline float Clampf(float val, float min, float max) { } inline float Signf(float val) { - return (0.0f < val) - (val < 0.0f); + return (float)((0.0f < val) - (val < 0.0f)); } inline float LinearMapf(float val, float a0, float a1, float b0, float b1) {