summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_draw_upload.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-20 18:06:38 -0800
committerEric Anholt <eric@anholt.net>2007-01-26 14:18:24 -0800
commit869b8ad499717eda4a1be04de4e516134123402c (patch)
tree98ba308706e9b7ad2abcb500862c23e3d3a50930 /src/mesa/drivers/dri/i965/brw_draw_upload.c
parentdbb54b234cd919b8ef7e36e0603ec69f3ed3fc7f (diff)
Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw_upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c
index 57ee294f0c..08741ad90f 100644
--- a/src/mesa/drivers/dri/i965/brw_draw_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c
@@ -414,7 +414,7 @@ GLboolean brw_upload_vertices( struct brw_context *brw,
*/
while (tmp) {
- GLuint i = ffsll(tmp)-1;
+ GLuint i = _mesa_ffsll(tmp)-1;
struct brw_vertex_element *input = &brw->vb.inputs[i];
tmp &= ~((GLuint64EXT)1<<i);