Переглянути джерело

casts to silence compiler warnings

tags/mesa_4_1
Karl Schultz 23 роки тому
джерело
коміт
4d030ba651
2 змінених файлів з 5 додано та 5 видалено
  1. 3
    3
      src/mesa/tnl/t_context.h
  2. 2
    2
      src/mesa/tnl/t_vb_program.c

+ 3
- 3
src/mesa/tnl/t_context.h Переглянути файл

@@ -1,4 +1,4 @@
/* $Id: t_context.h,v 1.38 2002/02/13 00:53:20 keithw Exp $ */
/* $Id: t_context.h,v 1.39 2002/04/04 18:25:40 kschultz Exp $ */

/*
* Mesa 3-D graphics library
@@ -96,8 +96,8 @@

/* Flags for IM->TexCoordSize. Enough flags for 16 units.
*/
#define TEX_0_SIZE_3 0x1
#define TEX_0_SIZE_4 0x10001
#define TEX_0_SIZE_3 (unsigned)0x1
#define TEX_0_SIZE_4 (unsigned)0x10001
#define TEX_SIZE_3(unit) (TEX_0_SIZE_3 << (unit))
#define TEX_SIZE_4(unit) (TEX_0_SIZE_4 << (unit))


+ 2
- 2
src/mesa/tnl/t_vb_program.c Переглянути файл

@@ -1,4 +1,4 @@
/* $Id: t_vb_program.c,v 1.10 2002/01/22 14:35:17 brianp Exp $ */
/* $Id: t_vb_program.c,v 1.11 2002/04/04 18:25:40 kschultz Exp $ */

/*
* Mesa 3-D graphics library
@@ -150,7 +150,7 @@ static GLboolean run_vp( GLcontext *ctx, struct gl_pipeline_stage *stage )
struct vertex_buffer *VB = &tnl->vb;
struct vp_machine *machine = &(ctx->VertexProgram.Machine);
struct vp_program *program = ctx->VertexProgram.Current;
GLint i;
GLuint i;

_mesa_init_tracked_matrices(ctx);
_mesa_init_vp_registers(ctx); /* init temp and result regs */

Завантаження…
Відмінити
Зберегти