Skip to content

Commit 899328c

Browse files
HarrievGRobertBeckebans
authored andcommitted
fixed swf line drawing
1 parent ebccc8c commit 899328c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/swf/SWF_Render.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ void idSWF::RenderShape( idRenderSystem* gui, const idSWFShape* shape, const swf
834834
uint32 packedColorM = LittleLong( PackColor( color.mul ) );
835835
uint32 packedColorA = LittleLong( PackColor( ( color.add * 0.5f ) + idVec4( 0.5f ) ) ); // Compress from -1..1 to 0..1
836836

837-
gui->SetGLState( GLStateForRenderState( renderState ) | GLS_POLYMODE_LINE );
837+
gui->SetGLState( GLStateForRenderState( renderState ) );
838838

839839
idDrawVert* verts = gui->AllocTris( line.startVerts.Num(), line.indices.Ptr(), line.indices.Num(), white, renderState.stereoDepth );
840840
if( verts == NULL )

0 commit comments

Comments
 (0)