remove a comment
This commit is contained in:
parent
d149ca28bb
commit
f0da9ce2ba
|
|
@ -154,29 +154,6 @@ begin_render_texture() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// render to cubemap face
|
||||
IDirect3DCubeTexture8 *direct_3d_cube_texture;
|
||||
|
||||
direct_3d_cube_texture = dx_texture_context8 -> _d3d_cube_texture;
|
||||
if (direct_3d_cube_texture) {
|
||||
if (_cube_map_index >= 0 && _cube_map_index < 6) {
|
||||
hr = direct_3d_cube_texture -> GetCubeMapSurface (
|
||||
(D3DCUBEMAP_FACES) _cube_map_index, mipmap_level, &_direct_3d_surface);
|
||||
if (SUCCEEDED (hr)) {
|
||||
hr = dxgsg -> _d3d_device -> SetRenderTarget (_direct_3d_surface,
|
||||
_z_stencil_buffer);
|
||||
if (SUCCEEDED (hr)) {
|
||||
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// error: invalid cube map face index
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue