[PATCH 3/4] wined3d: Get rid of unneeded includes.
Józef Kucia
jkucia at codeweavers.com
Thu Oct 19 03:07:28 CDT 2017
math.h is included in wined3d_private.h
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
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 04c0d702ca62..80c7354b44eb 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 0fca3e661ec1..2fd94bcfc177 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 235f87bfa7d2..41eabba1f3a4 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 9d3a3a18061b..0baa414e57dc 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 f80467b46d0c..215f83b61dac 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>
--
2.13.6
More information about the wine-patches
mailing list