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

@ -6,3 +6,7 @@ Name = "SampleGame"
TargetType = "BeefGUIApplication"
StartupObject = "Strawberry.Sample.Program"
DefaultNamespace = "Strawberry.Sample"
[[Project.DistinctOptions]]
Filter = ""
ReflectAlwaysInclude = "IncludeAll"

View File

@ -3,3 +3,9 @@ Projects = {SampleGame = {Path = "."}, Strawberry = {Path = ".."}, SDL2 = "*"}
[Workspace]
StartupProject = "SampleGame"
[[Workspace.DistinctOptions]]
Filter = ""
[Configs.Debug.Win64]
Toolset = "LLVM"

View File

@ -6,8 +6,9 @@ namespace Strawberry.Sample
{
static public int Main(String[] args)
{
SDL2PlatformLayer sdl = scope SDL2PlatformLayer();
let sdl = scope SDL2PlatformLayer();
let game = scope SampleGame(sdl);
game.Run();
return 0;
}