mesa: remove MAX_GLUSHORT, move MAX_GLUINT

The later is only used in one place in swrast.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Brian Paul 2015-02-24 15:23:22 -07:00
parent f847ddb64d
commit ab68219a59
2 changed files with 5 additions and 3 deletions

View file

@ -83,9 +83,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
* Math macros
*/
#define MAX_GLUSHORT 0xffff
#define MAX_GLUINT 0xffffffff
/* Degrees to radians conversion: */
#define DEG2RAD (M_PI/180.0)

View file

@ -91,6 +91,11 @@
*/
#ifndef MAX_GLUINT
#define MAX_GLUINT 0xffffffff
#endif
/*
* Some code we unfortunately need to prevent negative interpolated colors.
*/