some GLuint idx -> GLint idx changes
This commit is contained in:
parent
fea5a428e9
commit
60a6a0eb51
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
* Version: 6.3
|
* Version: 6.3.1
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005 Tungsten Graphics All Rights Reserved.
|
* Copyright (C) 2005 Tungsten Graphics All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
@ -289,7 +289,7 @@ const static struct ureg undef = {
|
||||||
|
|
||||||
/* Construct a ureg:
|
/* Construct a ureg:
|
||||||
*/
|
*/
|
||||||
static struct ureg make_ureg(GLuint file, GLuint idx)
|
static struct ureg make_ureg(GLuint file, GLint idx)
|
||||||
{
|
{
|
||||||
struct ureg reg;
|
struct ureg reg;
|
||||||
reg.file = file;
|
reg.file = file;
|
||||||
|
@ -377,7 +377,7 @@ static struct ureg register_const4f( struct tnl_program *p,
|
||||||
GLfloat s3)
|
GLfloat s3)
|
||||||
{
|
{
|
||||||
GLfloat values[4];
|
GLfloat values[4];
|
||||||
GLuint idx;
|
GLint idx;
|
||||||
values[0] = s0;
|
values[0] = s0;
|
||||||
values[1] = s1;
|
values[1] = s1;
|
||||||
values[2] = s2;
|
values[2] = s2;
|
||||||
|
@ -413,7 +413,7 @@ static struct ureg register_param6( struct tnl_program *p,
|
||||||
GLint s5)
|
GLint s5)
|
||||||
{
|
{
|
||||||
GLint tokens[6];
|
GLint tokens[6];
|
||||||
GLuint idx;
|
GLint idx;
|
||||||
tokens[0] = s0;
|
tokens[0] = s0;
|
||||||
tokens[1] = s1;
|
tokens[1] = s1;
|
||||||
tokens[2] = s2;
|
tokens[2] = s2;
|
||||||
|
|
Loading…
Reference in New Issue