Friday, May 19, 2006, 9:15:57 PM, Jacob Peters wrote: > On 5/19/06, Jacob Peters <[EMAIL PROTECTED]> wrote: > ChangeLog: I implemented more renderstates in device.c function > IWineD3DDeviceImpl_SetRenderState()
> I added a few render states called by d3d8 demo app "mshdribl.exe", the one > in the wiki. > changed "glBlendEquation()" to "glBlendEquationEXT()" so I don't conflict > with opengl <2.0 > - TRACE("glBlendFunc src=%x, dst=%x\n", This->srcBlend, > This->dstBlend); > - glBlendFunc(This->srcBlend, This->dstBlend); > + if(glIsEnabled(GL_BLEND_EQUATION_ALPHA)) { > + TRACE("glBlendFuncSeparate src=%x, dst=%x\n", This->srcBlend, > This->dstBlend); > + glBlendFuncSeparate(This->srcBlend, This->dstBlend, GL_ZERO, > GL_ZERO); > + checkGLcall("glBlendFuncSeparate"); > + } > + else { Here and everywhere else in the patch - Please either follow the accepted Wine's standard or common file formatting. Don't add one more stile. Also try not to use tabs. Vitaliy Margolen