Stephan Rose wrote:
Sets up DDPixelFormat for WINED3DFMT_X8L8V8U8, WINED3DFMT_R8G8B8A8_SNORM and WINED3DFMT_R16G16_SNORM formats.
Fixes errors in the game http://www.alawar.com/game/tikibar/ that keep it from running due missing pixel format conversions of the above bump map formats.
Stephan:
You have trailing spaces in the break; line. Please remove them.
James McKenzie
+ DDPixelFormat->u5.dwLuminanceAlphaBitMask = 0x000000FF; + break; + case WINED3DFMT_R16G16_SNORM: