Browse Source

Oops, fix compile error

rdb 11 years ago
parent
commit
5abc6aa2fc
1 changed files with 0 additions and 1 deletions
  1. 0 1
      panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx

+ 0 - 1
panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx

@@ -1902,7 +1902,6 @@ framebuffer_copy_to_texture(Texture *tex, int view, int z,
   // must use a render target type texture for StretchRect
   // must use a render target type texture for StretchRect
   tex->set_render_to_texture(true);
   tex->set_render_to_texture(true);
 
 
-  int view = dr->get_target_tex_view();
   TextureContext *tc = tex->prepare_now(view, get_prepared_objects(), this);
   TextureContext *tc = tex->prepare_now(view, get_prepared_objects(), this);
   if (tc == (TextureContext *)NULL) {
   if (tc == (TextureContext *)NULL) {
     return false;
     return false;