Commit 986e202a authored by Alexandre Julliard's avatar Alexandre Julliard

glu32: Make some functions static.

parent 179a4e0a
...@@ -448,7 +448,7 @@ void WINAPI wine_gluTessEndPolygon(void *tess) ...@@ -448,7 +448,7 @@ void WINAPI wine_gluTessEndPolygon(void *tess)
} }
void wine_glu_tess_begin_data(int type, wine_tess_t *wine_tess) static void wine_glu_tess_begin_data(int type, wine_tess_t *wine_tess)
{ {
if(wine_tess->cb_tess_begin_data) if(wine_tess->cb_tess_begin_data)
wine_tess->cb_tess_begin_data(type, wine_tess->polygon_data); wine_tess->cb_tess_begin_data(type, wine_tess->polygon_data);
...@@ -456,7 +456,7 @@ void wine_glu_tess_begin_data(int type, wine_tess_t *wine_tess) ...@@ -456,7 +456,7 @@ void wine_glu_tess_begin_data(int type, wine_tess_t *wine_tess)
wine_tess->cb_tess_begin(type); wine_tess->cb_tess_begin(type);
} }
void wine_glu_tess_vertex_data(void *vertex_data, wine_tess_t *wine_tess) static void wine_glu_tess_vertex_data(void *vertex_data, wine_tess_t *wine_tess)
{ {
if(wine_tess->cb_tess_vertex_data) if(wine_tess->cb_tess_vertex_data)
wine_tess->cb_tess_vertex_data(vertex_data, wine_tess->polygon_data); wine_tess->cb_tess_vertex_data(vertex_data, wine_tess->polygon_data);
...@@ -464,7 +464,7 @@ void wine_glu_tess_vertex_data(void *vertex_data, wine_tess_t *wine_tess) ...@@ -464,7 +464,7 @@ void wine_glu_tess_vertex_data(void *vertex_data, wine_tess_t *wine_tess)
wine_tess->cb_tess_vertex(vertex_data); wine_tess->cb_tess_vertex(vertex_data);
} }
void wine_glu_tess_end_data(wine_tess_t *wine_tess) static void wine_glu_tess_end_data(wine_tess_t *wine_tess)
{ {
if(wine_tess->cb_tess_end_data) if(wine_tess->cb_tess_end_data)
wine_tess->cb_tess_end_data(wine_tess->polygon_data); wine_tess->cb_tess_end_data(wine_tess->polygon_data);
...@@ -472,7 +472,7 @@ void wine_glu_tess_end_data(wine_tess_t *wine_tess) ...@@ -472,7 +472,7 @@ void wine_glu_tess_end_data(wine_tess_t *wine_tess)
wine_tess->cb_tess_end(); wine_tess->cb_tess_end();
} }
void wine_glu_tess_error_data(int error, wine_tess_t *wine_tess) static void wine_glu_tess_error_data(int error, wine_tess_t *wine_tess)
{ {
if(wine_tess->cb_tess_error_data) if(wine_tess->cb_tess_error_data)
wine_tess->cb_tess_error_data(error, wine_tess->polygon_data); wine_tess->cb_tess_error_data(error, wine_tess->polygon_data);
...@@ -480,7 +480,7 @@ void wine_glu_tess_error_data(int error, wine_tess_t *wine_tess) ...@@ -480,7 +480,7 @@ void wine_glu_tess_error_data(int error, wine_tess_t *wine_tess)
wine_tess->cb_tess_error(error); wine_tess->cb_tess_error(error);
} }
void wine_glu_tess_edge_flag_data(int flag, wine_tess_t *wine_tess) static void wine_glu_tess_edge_flag_data(int flag, wine_tess_t *wine_tess)
{ {
if(wine_tess->cb_tess_edge_flag_data) if(wine_tess->cb_tess_edge_flag_data)
wine_tess->cb_tess_edge_flag_data(flag, wine_tess->polygon_data); wine_tess->cb_tess_edge_flag_data(flag, wine_tess->polygon_data);
...@@ -488,8 +488,8 @@ void wine_glu_tess_edge_flag_data(int flag, wine_tess_t *wine_tess) ...@@ -488,8 +488,8 @@ void wine_glu_tess_edge_flag_data(int flag, wine_tess_t *wine_tess)
wine_tess->cb_tess_edge_flag(flag); wine_tess->cb_tess_edge_flag(flag);
} }
void wine_glu_tess_combine_data(double *coords, void *vertex_data, float *weight, void **outData, static void wine_glu_tess_combine_data(double *coords, void *vertex_data, float *weight, void **outData,
wine_tess_t *wine_tess) wine_tess_t *wine_tess)
{ {
if(wine_tess->cb_tess_combine_data) if(wine_tess->cb_tess_combine_data)
wine_tess->cb_tess_combine_data(coords, vertex_data, weight, outData, wine_tess->polygon_data); wine_tess->cb_tess_combine_data(coords, vertex_data, weight, outData, wine_tess->polygon_data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment