X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Ftnl%2Ft_vb_texgen.c;h=aa8d10b4de4450aeac62d53678c9475e2dc381bc;hb=37e7a5e746dbb57bc44ff9da308b7bfc529e40d6;hp=de0a9995e73db9ea1c7e3741d1610af45a01e4be;hpb=e5339fe4a47c242693962c9f90bbab8b74935cba;p=mesa.git diff --git a/src/mesa/tnl/t_vb_texgen.c b/src/mesa/tnl/t_vb_texgen.c index de0a9995e73..aa8d10b4de4 100644 --- a/src/mesa/tnl/t_vb_texgen.c +++ b/src/mesa/tnl/t_vb_texgen.c @@ -37,7 +37,7 @@ #include "main/errors.h" #include "main/glheader.h" #include "main/macros.h" -#include "util/imports.h" + #include "main/mtypes.h" #include "math/m_xform.h" @@ -263,7 +263,7 @@ static void texgen_reflection_map_nv( struct gl_context *ctx, out->flags |= (in->flags & VEC_SIZE_FLAGS) | VEC_SIZE_3; out->count = VB->Count; out->size = MAX2(in->size, 3); - if (in->size == 4) + if (in->size == 4) _mesa_copy_tab[0x8]( out, in ); } @@ -292,7 +292,7 @@ static void texgen_normal_map_nv( struct gl_context *ctx, out->flags |= (in->flags & VEC_SIZE_FLAGS) | VEC_SIZE_3; out->count = count; out->size = MAX2(in->size, 3); - if (in->size == 4) + if (in->size == 4) _mesa_copy_tab[0x8]( out, in ); } @@ -487,7 +487,7 @@ static GLboolean run_texgen_stage( struct gl_context *ctx, struct texgen_stage_data *store = TEXGEN_STAGE_DATA(stage); GLuint i; - if (!ctx->Texture._TexGenEnabled || ctx->VertexProgram._Current) + if (!ctx->Texture._TexGenEnabled || ctx->VertexProgram._Current) return GL_TRUE; for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) { @@ -511,7 +511,7 @@ static void validate_texgen_stage( struct gl_context *ctx, struct texgen_stage_data *store = TEXGEN_STAGE_DATA(stage); GLuint i; - if (!ctx->Texture._TexGenEnabled || ctx->VertexProgram._Current) + if (!ctx->Texture._TexGenEnabled || ctx->VertexProgram._Current) return; for (i = 0 ; i < ctx->Const.MaxTextureCoordUnits ; i++) {