/* loop over enabled texture units */
while (enabledUnits) {
- GLuint unit = ffs(enabledUnits) - 1;
+ GLuint unit = _mesa_ffs(enabledUnits) - 1;
struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
_swrast_map_texture(ctx, texObj);
/* loop over enabled texture units */
while (enabledUnits) {
- GLuint unit = ffs(enabledUnits) - 1;
+ GLuint unit = _mesa_ffs(enabledUnits) - 1;
struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
_swrast_unmap_texture(ctx, texObj);