Lines Matching refs:lod
90 texture->lod = 0;
435 gl_value = texture->lod;
438 else if (gl_tex->states[WINED3DTEXSTA_MAXMIPLEVEL] < texture->lod)
439 /* texture->lod is already clamped in the setter. */
440 gl_value = texture->lod;
558 DWORD CDECL wined3d_texture_set_lod(struct wined3d_texture *texture, DWORD lod)
560 DWORD old = texture->lod;
562 TRACE("texture %p, lod %u.\n", texture, lod);
572 if (lod >= texture->level_count)
573 lod = texture->level_count - 1;
575 if (texture->lod != lod)
577 texture->lod = lod;
590 TRACE("texture %p, returning %u.\n", texture, texture->lod);
592 return texture->lod;