silence some warnings
This commit is contained in:
@@ -36,13 +36,13 @@
|
||||
#include "draw/draw_pt.h"
|
||||
|
||||
|
||||
/* XXX: Shouldn't those two functions below use the '>' operator???
|
||||
*/
|
||||
#if 0
|
||||
static boolean too_many_elts( struct draw_context *draw,
|
||||
unsigned elts )
|
||||
{
|
||||
return elts > (8 * 1024);
|
||||
}
|
||||
#endif
|
||||
|
||||
static INLINE unsigned reduced_prim(unsigned prim)
|
||||
{
|
||||
|
@@ -145,7 +145,6 @@ fetch_store_general( struct fetch_emit_middle_end *feme,
|
||||
unsigned count )
|
||||
{
|
||||
float *out = (float *)out_ptr;
|
||||
struct vbuf_render *render = feme->draw->render;
|
||||
uint i, j;
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
@@ -167,7 +166,6 @@ fetch_store_general( struct fetch_emit_middle_end *feme,
|
||||
static void fetch_emit_prepare( struct draw_pt_middle_end *middle,
|
||||
unsigned prim )
|
||||
{
|
||||
static const float zero = 0;
|
||||
struct fetch_emit_middle_end *feme = (struct fetch_emit_middle_end *)middle;
|
||||
struct draw_context *draw = feme->draw;
|
||||
const struct vertex_info *vinfo;
|
||||
|
@@ -87,7 +87,7 @@ struct fetch_pipeline_middle_end {
|
||||
};
|
||||
|
||||
|
||||
|
||||
#if 0
|
||||
static void emit_R32_FLOAT( const float *attrib,
|
||||
float **out )
|
||||
{
|
||||
@@ -111,7 +111,7 @@ static void emit_R32G32B32_FLOAT( const float *attrib,
|
||||
(*out)[2] = attrib[2];
|
||||
(*out) += 3;
|
||||
}
|
||||
|
||||
#endif
|
||||
static void emit_R32G32B32A32_FLOAT( const float *attrib,
|
||||
float **out )
|
||||
{
|
||||
|
@@ -49,6 +49,7 @@ struct fetch_pipeline_middle_end {
|
||||
unsigned prim;
|
||||
};
|
||||
|
||||
#if 0
|
||||
static void emit_R32_FLOAT( const float *attrib,
|
||||
float **out )
|
||||
{
|
||||
@@ -72,7 +73,7 @@ static void emit_R32G32B32_FLOAT( const float *attrib,
|
||||
(*out)[2] = attrib[2];
|
||||
(*out) += 3;
|
||||
}
|
||||
|
||||
#endif
|
||||
static void emit_R32G32B32A32_FLOAT( const float *attrib,
|
||||
float **out )
|
||||
{
|
||||
|
Reference in New Issue
Block a user