mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
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:
parent
f847ddb64d
commit
ab68219a59
2 changed files with 5 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,11 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef MAX_GLUINT
|
||||
#define MAX_GLUINT 0xffffffff
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* Some code we unfortunately need to prevent negative interpolated colors.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue