mesa/main: delete now unused _mesa_little_endian
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
@@ -285,18 +285,6 @@ _mesa_logbase2(GLuint n)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return 1 if this is a little endian machine, 0 if big endian.
|
|
||||||
*/
|
|
||||||
static inline GLboolean
|
|
||||||
_mesa_little_endian(void)
|
|
||||||
{
|
|
||||||
const GLuint ui = 1; /* intentionally not static */
|
|
||||||
return *((const GLubyte *) &ui);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* Functions
|
* Functions
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user