diff options
author | Eric Anholt <[email protected]> | 2007-01-20 18:06:38 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-01-26 14:18:24 -0800 |
commit | 869b8ad499717eda4a1be04de4e516134123402c (patch) | |
tree | 98ba308706e9b7ad2abcb500862c23e3d3a50930 /src/mesa/drivers | |
parent | dbb54b234cd919b8ef7e36e0603ec69f3ed3fc7f (diff) |
Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw_upload.c | 2 |
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 57ee294f0cf..08741ad90f6 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); |