This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
Fix compat implementation of ffs() to return 1-based bit numbers.
tags/mesa_7_1_rc1
Andrzej Trznadel
18 years ago
parent
f2b914298f
commit
e9809a36aa
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
src/mesa/main/imports.c
+ 1
- 0
src/mesa/main/imports.c
View File
@@ -560,6 +560,7 @@ _mesa_ffs(int i)
bit++;
i >>= 1;
}
bit++;
}
return bit;
#else
Write
Preview
Loading…
Cancel
Save