mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-06 20:45:26 +08:00
Setting up open gl stuff
This commit is contained in:
@ -6,3 +6,7 @@ Name = "SampleGame"
|
||||
TargetType = "BeefGUIApplication"
|
||||
StartupObject = "Strawberry.Sample.Program"
|
||||
DefaultNamespace = "Strawberry.Sample"
|
||||
|
||||
[[Project.DistinctOptions]]
|
||||
Filter = ""
|
||||
ReflectAlwaysInclude = "IncludeAll"
|
||||
|
@ -3,3 +3,9 @@ Projects = {SampleGame = {Path = "."}, Strawberry = {Path = ".."}, SDL2 = "*"}
|
||||
|
||||
[Workspace]
|
||||
StartupProject = "SampleGame"
|
||||
|
||||
[[Workspace.DistinctOptions]]
|
||||
Filter = ""
|
||||
|
||||
[Configs.Debug.Win64]
|
||||
Toolset = "LLVM"
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user