ソースを参照

swrast: always call _swrast_choose_texture_sample_func()

_swrast_choose_texture_sample_func() handles null texture object pointers
and will return the "null" sampler function which returns (0,0,0,1).  This
fixes a minor regression from ce82914f5a
tags/mesa-8.0-rc1
Brian Paul 14年前
コミット
c5943d6c1c
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      src/mesa/swrast/s_context.c

+ 1
- 1
src/mesa/swrast/s_context.c ファイルの表示

@@ -476,8 +476,8 @@ _swrast_update_texture_samplers(struct gl_context *ctx)
*/
if (tObj) {
_mesa_update_fetch_functions(tObj);
swrast->TextureSample[u] = _swrast_choose_texture_sample_func(ctx, tObj);
}
swrast->TextureSample[u] = _swrast_choose_texture_sample_func(ctx, tObj);
}
}


読み込み中…
キャンセル
保存