projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73a9c6
)
mesa/main: delete now unused _mesa_little_endian
author
Dylan Baker
<dylan@pnwbakers.com>
Thu, 6 Sep 2018 22:15:40 +0000
(15:15 -0700)
committer
Dylan Baker
<dylan@pnwbakers.com>
Tue, 5 Nov 2019 16:39:55 +0000
(16:39 +0000)
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index 41f28ad0f1ef78ca217e8704de3ff63915f8204a..7f10ecec810ccfadca58cf340cd706b66bc21c01 100644
(file)
--- 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
*/