remove some unneeded #includes
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include "mtypes.h"
|
||||
|
||||
#include "array_cache/acache.h"
|
||||
#include "math/m_translate.h"
|
||||
|
||||
#include "t_array_import.h"
|
||||
#include "t_context.h"
|
||||
|
@@ -32,9 +32,6 @@
|
||||
#include "state.h"
|
||||
#include "mtypes.h"
|
||||
|
||||
#include "math/m_translate.h"
|
||||
#include "math/m_xform.h"
|
||||
|
||||
#include "t_context.h"
|
||||
#include "t_pipeline.h"
|
||||
#include "t_vp_build.h"
|
||||
|
@@ -38,7 +38,6 @@
|
||||
#include "light.h"
|
||||
#include "program.h"
|
||||
#include "math/m_matrix.h"
|
||||
#include "math/m_translate.h"
|
||||
#include "t_context.h"
|
||||
#include "t_pipeline.h"
|
||||
#include "t_vb_arbprogram.h"
|
||||
@@ -1517,7 +1516,7 @@ static void dtr( struct tnl_pipeline_stage *stage )
|
||||
*/
|
||||
const struct tnl_pipeline_stage _tnl_arb_vertex_program_stage =
|
||||
{
|
||||
"vertex-program",
|
||||
"arb-vertex-program",
|
||||
NULL, /* private_data */
|
||||
init_vertex_program, /* create */
|
||||
dtr, /* destroy */
|
||||
|
@@ -45,8 +45,6 @@
|
||||
#include "nvvertexec.h"
|
||||
#include "nvprogram.h"
|
||||
|
||||
#include "math/m_translate.h"
|
||||
|
||||
#include "t_context.h"
|
||||
#include "t_pipeline.h"
|
||||
|
||||
@@ -231,6 +229,7 @@ static GLboolean init_vp( GLcontext *ctx,
|
||||
return GL_FALSE;
|
||||
|
||||
/* Allocate arrays of vertex output values */
|
||||
/* XXX change '15' to a named constant */
|
||||
for (i = 0; i < 15; i++) {
|
||||
_mesa_vector4f_alloc( &store->attribs[i], 0, size, 32 );
|
||||
store->attribs[i].size = 4;
|
||||
|
Reference in New Issue
Block a user