Setting up open gl stuff

This commit is contained in:
Matt Thorson
2020-08-03 22:02:05 -07:00
parent 823656d8e5
commit 1bf3c1a62f
8 changed files with 73 additions and 48 deletions

View File

@ -437,7 +437,7 @@ namespace Strawberry
public this(int w, int h)
{
Texture = SDL.CreateTexture(Game.Renderer, (uint32)SDL.PIXELFORMAT_RGBA8888, (int32)SDL.TextureAccess.Streaming, (int32)w, (int32)h);
//Texture = SDL.CreateTexture(Game.Renderer, (uint32)SDL.PIXELFORMAT_RGBA8888, (int32)SDL.TextureAccess.Streaming, (int32)w, (int32)h);
Width = w;
Height = h;