| 2930 | } |
| 2931 | |
| 2932 | void d3d_SetMipState(int8_t state) { |
| 2933 | D3D_state.cur_mip_state = state; |
| 2934 | |
| 2935 | if (d3d_CanMip && state) { |
| 2936 | lpD3DDevice->SetTextureStageState(0, D3DTSS_MIPFILTER, D3DTFP_POINT); |
| 2937 | } else { |
| 2938 | lpD3DDevice->SetTextureStageState(0, D3DTSS_MIPFILTER, D3DTFP_NONE); |
| 2939 | } |
| 2940 | } |
| 2941 | |
| 2942 | // Sets up a some global preferences for D3D |
| 2943 | int d3d_SetPreferredState(renderer_preferred_state *pref_state) { |
no outgoing calls
no test coverage detected