public virtual void DrawGLFlowingPoly(glpoly_t p) { var scroll = -64 * ((r_newrefdef.time / 40F) - ( Int32 )(r_newrefdef.time / 40F)); if (scroll == 0F) { scroll = -64F; } p.BeginScrolling(scroll); GL.DrawArrays(PrimitiveType.Polygon, p.pos, p.numverts); p.EndScrolling(); }