浏览代码

mesa/main: delete now unused _mesa_little_endian

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
merge-requests/2434/head
Dylan Baker 7 年前
父节点
当前提交
39b9fe03a9
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0
    12
      src/mesa/main/imports.h

+ 0
- 12
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
*/

正在加载...
取消
保存