DXGL r587 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r586‎ | r587 | r588 >
Date:19:29, 18 January 2015
Author:admin
Status:new
Tags:
Comment:
Don't advertise RGBA8332 texture format.
Modified paths:
  • /ddraw/glDirect3DDevice.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3DDevice.cpp
@@ -977,6 +977,7 @@
978978 DDPIXELFORMAT fmt;
979979 for(int i = 0; i < numtexformats; i++)
980980 {
 981+ if (i == 7) continue;
981982 if(::texformats[i].dwFlags & DDPF_ZBUFFER) continue;
982983 if(::texformats[i].dwFlags & DDPF_PALETTEINDEXED8) continue;
983984 memcpy(&fmt,&::texformats[i],sizeof(DDPIXELFORMAT));