Re: wined3d: Implemented WINED3DRS_EDGEANTIALIAS
1 Feb
2006
1 Feb
'06
2:05 a.m.
case WINED3DRS_EDGEANTIALIAS : + { + if(Value) { + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glEnable(GL_BLEND); + checkGLcall("glEnable(GL_BLEND)"); + glEnable(GL_LINE_SMOOTH); + checkGLcall("glEnable(GL_LINE_SMOOTH)"); + } else { + glDisable(GL_BLEND); + checkGLcall("glDisable(GL_BLEND)"); + glDisable(GL_LINE_SMOOTH); + checkGLcall("glDisable(GL_LINE_SMOOTH)"); + }
Just thought of this, but eg. WINED3DRS_ALPHABLENDENABLE also disables / enables GL_BLEND.
7254
Age (days ago)
7254
Last active (days ago)
0 comments
1 participants
participants (1)
-
H. Verbeet