internal void End(IntRect viewport, Matrix projectionMatrix) { if (!_begun) { throw new GlaivesException("End may not be called before Begin is called"); } GL.PolygonMode(MaterialFace.Back, PolygonMode.Fill); GraphicsDeviceBase.Draw(viewport, _shaderProgram, _vertexArray, VertexArrayPosition, _vbo, _positionAttributeLocation, _colorAttributeLocation, _texCoordAttributeLocation, RenderProgram, projectionMatrix); _begun = false; }
public Win32Game(GraphicsDeviceBase device) : base(device) { }