Use the GSG set_sampler_state function instead of the DX9 function directly.

This commit is contained in:
aignacio_sf 2006-06-03 03:12:41 +00:00
parent 3bd176fd7c
commit 5000348067
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ apply_texture(int i, TextureContext *tc) {
if (!get_supports_compressed_texture_format(tc->get_texture()->get_ram_image_compression())) {
dxgsg9_cat.error()
<< *dtc->get_texture() << " is stored in an unsupported compressed format.\n";
_d3d_device->SetTextureStageState(i, D3DTSS_COLOROP, D3DTOP_DISABLE);
set_texture_stage_state(i, D3DTSS_COLOROP, D3DTOP_DISABLE);
return;
}