From 235eea1bfa3e342fbb8cc6b155f5f6cf2be94f24 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Thu, 19 Apr 2001 18:58:28 +0000 Subject: [PATCH] fix intel 810 bug, remove DDS 3DDEVICE cap bit which was incorrectly specified --- panda/src/dxgsg/dxTextureContext.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/dxgsg/dxTextureContext.cxx b/panda/src/dxgsg/dxTextureContext.cxx index 3e0d79c116..2af083c229 100644 --- a/panda/src/dxgsg/dxTextureContext.cxx +++ b/panda/src/dxgsg/dxTextureContext.cxx @@ -1397,10 +1397,10 @@ CreateTexture(LPDIRECT3DDEVICE7 pd3dDevice, int cNumTexPixFmts, LPDDPIXELFORMAT pddsRender->GetDDInterface( (VOID**)&pDD ); pddsRender->Release(); - ddsd.ddsCaps.dwCaps = DDSCAPS_TEXTURE | DDSCAPS_3DDEVICE; + ddsd.ddsCaps.dwCaps = DDSCAPS_TEXTURE; ddsd.ddsCaps.dwCaps2 = DDSCAPS2_TEXTUREMANAGE // Turn on texture management - | DDSCAPS2_HINTSTATIC; // BUGBUG: is this ok for ALL textures? + | DDSCAPS2_HINTSTATIC; // BUGBUG: is this ok for ALL textures? // validate magfilter setting // degrade filtering if no HW support