mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
radeon: oops didn't need this logbase2 fn
This commit is contained in:
parent
c6fb88fc5a
commit
4832403c38
1 changed files with 0 additions and 15 deletions
|
|
@ -639,21 +639,6 @@ void radeonSetTexOffset(__DRIcontext * pDRICtx, GLint texname,
|
|||
}
|
||||
}
|
||||
|
||||
static int
|
||||
logbase2(int n)
|
||||
{
|
||||
GLint i = 1;
|
||||
GLint log2 = 0;
|
||||
|
||||
while (n > i) {
|
||||
i *= 2;
|
||||
log2++;
|
||||
}
|
||||
|
||||
return log2;
|
||||
}
|
||||
|
||||
|
||||
void radeonSetTexBuffer2(__DRIcontext *pDRICtx, GLint target, GLint texture_format,
|
||||
__DRIdrawable *dPriv)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue