From 5abc6aa2fce229d5b7303cc0435e061a6af21345 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 5 Apr 2014 21:47:54 +0000 Subject: [PATCH] Oops, fix compile error --- panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx b/panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx index fd48033eec..de3df8e994 100755 --- a/panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx +++ b/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 tex->set_render_to_texture(true); - int view = dr->get_target_tex_view(); TextureContext *tc = tex->prepare_now(view, get_prepared_objects(), this); if (tc == (TextureContext *)NULL) { return false;