summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-09-06 15:15:40 -0700
committerDylan Baker <[email protected]>2019-11-05 16:39:55 +0000
commit39b9fe03a972f27b87bd9778371c93d04f60c49b (patch)
tree8a39f2be86fc6c295c734bc799db38cc95e64538 /src/mesa
parentf73a9c6586b631d3f6cddb923b0611f9ff7a70ba (diff)
mesa/main: delete now unused _mesa_little_endian
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/imports.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 41f28ad0f1e..7f10ecec810 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -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
*/