Józef Kucia : wined3d: Get rid of unneeded includes.
Module: wine Branch: master Commit: c11251c188a402e168d48053f856c61542452259 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c11251c188a402e168d48053f8... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Thu Oct 19 10:07:28 2017 +0200 wined3d: Get rid of unneeded includes. math.h is included in wined3d_private.h Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/arb_program_shader.c | 1 - dlls/wined3d/ati_fragment_shader.c | 1 - dlls/wined3d/drawprim.c | 3 --- dlls/wined3d/nvidia_texture_shader.c | 1 - dlls/wined3d/shader.c | 1 - 5 files changed, 7 deletions(-) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 04c0d70..80c7354 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -30,7 +30,6 @@ #include "config.h" #include "wine/port.h" -#include <math.h> #include <stdio.h> #include "wined3d_private.h" diff --git a/dlls/wined3d/ati_fragment_shader.c b/dlls/wined3d/ati_fragment_shader.c index 0fca3e6..2fd94bc 100644 --- a/dlls/wined3d/ati_fragment_shader.c +++ b/dlls/wined3d/ati_fragment_shader.c @@ -21,7 +21,6 @@ #include "config.h" #include "wine/port.h" -#include <math.h> #include <stdio.h> #include "wined3d_private.h" diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index 235f87b..41eabba 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -33,9 +33,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_draw); WINE_DECLARE_DEBUG_CHANNEL(d3d_perf); WINE_DECLARE_DEBUG_CHANNEL(d3d); -#include <stdio.h> -#include <math.h> - /* Context activation is done by the caller. */ static void draw_primitive_arrays(struct wined3d_context *context, const struct wined3d_state *state, const void *idx_data, unsigned int idx_size, int base_vertex_idx, unsigned int start_idx, diff --git a/dlls/wined3d/nvidia_texture_shader.c b/dlls/wined3d/nvidia_texture_shader.c index 9d3a3a1..0baa414 100644 --- a/dlls/wined3d/nvidia_texture_shader.c +++ b/dlls/wined3d/nvidia_texture_shader.c @@ -22,7 +22,6 @@ #include "config.h" #include "wine/port.h" -#include <math.h> #include <stdio.h> #include "wined3d_private.h" diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c index f80467b..215f83b 100644 --- a/dlls/wined3d/shader.c +++ b/dlls/wined3d/shader.c @@ -25,7 +25,6 @@ #include "config.h" #include "wine/port.h" -#include <math.h> #include <stdio.h> #include <string.h>
participants (1)
-
Alexandre Julliard