it compiles

This commit is contained in:
Alli
2010-02-18 17:10:15 +13:00
parent 3e3276682c
commit cf8a2dd50f
9 changed files with 78 additions and 23 deletions

View File

@@ -26,9 +26,9 @@ using System.Runtime.InteropServices;
using System.Windows.Forms;
using Tao.Cg;
using Tao.OpenGl;
using Tao.Platform.Windows;
using OpenRa.FileFormats.Graphics;
using Tao.Glfw;
using OpenRa;
[assembly: Renderer( typeof( OpenRa.GlRenderer.GraphicsDevice ))]
@@ -189,10 +189,9 @@ namespace OpenRa.GlRenderer
#region IGraphicsDevice Members
public IVertexBuffer<T> CreateVertexBuffer<T>( int size )
where T : struct
public IVertexBuffer<Vertex> CreateVertexBuffer<Vertex>( int size )
{
return new VertexBuffer<T>( this, size );
return new VertexBuffer<Vertex>( this, size );
}
public IIndexBuffer CreateIndexBuffer( int size )