Browse Source

remove a comment

aignacio_sf 20 years ago
parent
commit
f0da9ce2ba
1 changed files with 0 additions and 23 deletions
  1. 0 23
      panda/src/dxgsg8/wdxGraphicsBuffer8.cxx

+ 0 - 23
panda/src/dxgsg8/wdxGraphicsBuffer8.cxx

@@ -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
-      }
-    }
-*/
-
   }
 }