added null renderer, game runs. good place to start.

This commit is contained in:
Chris Forbes
2010-02-15 16:22:13 +13:00
parent 283c92fa91
commit a8e07d4dfb
12 changed files with 210 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
using System.Drawing;
using Ijw.DirectX;
using OpenRa.Gl;
using OpenRa.FileFormats;
namespace OpenRa.Graphics
@@ -25,7 +25,7 @@ namespace OpenRa.Graphics
void Resolve()
{
texture = Texture.CreateFromBitmap(bitmap, renderer.Device);
texture = new Texture(renderer.Device, bitmap);
}
public Texture Texture