From 940038adb7b3b337e389c85bc3344bf1408a0b3b Mon Sep 17 00:00:00 2001 From: aignacio_sf <> Date: Fri, 1 Jun 2007 21:50:00 +0000 Subject: [PATCH] Fix matching back buffer format issues. --- panda/src/dxgsg8/dxTextureContext8.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/panda/src/dxgsg8/dxTextureContext8.cxx b/panda/src/dxgsg8/dxTextureContext8.cxx index ad48746682..98db4e0f65 100644 --- a/panda/src/dxgsg8/dxTextureContext8.cxx +++ b/panda/src/dxgsg8/dxTextureContext8.cxx @@ -662,12 +662,8 @@ create_texture(DXScreenData &scrn) { // REQUIRED pool = D3DPOOL_DEFAULT; if (support_render_texture && scrn._dxgsg8 -> get_supports_render_texture ( )) { - target_pixel_format = scrn._render_to_texture_d3d_format; usage |= D3DUSAGE_RENDERTARGET; } - else { - target_pixel_format = scrn._framebuffer_d3d_format; - } } else { pool = D3DPOOL_MANAGED;