- Added a framework for drawing the 2D screen elements with Direct3D textures.

They are not actually drawn with it yet, nor is it complete, but it's
  something to start with.
- Split up DCanvas::DrawTexture() into more pieces to make it easier to
  virtualize.
- Removed support for non-32-bit palette textures from D3DFB. What kind of
  card supports pixel shaders but not 32-bit textures?


SVN r605 (trunk)
This commit is contained in:
Randy Heit 2007-12-20 04:36:43 +00:00
commit 111853e623
17 changed files with 1867 additions and 984 deletions

View file

@ -620,7 +620,7 @@ void DDrawFB::MaybeCreatePalette ()
{
pal.head.palPalEntry[i].peFlags = 0;
}
GDIPalette = CreatePalette (&pal.head);
GDIPalette = ::CreatePalette (&pal.head);
LOG ("Created GDI palette\n");
if (GDIPalette != NULL)
{