Av3boy / Av3boy/SharpEngine

Unable to resolve OpenGL context with view settings

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
bug core window
Dominant language
C#
Stars
6
Forks
0
Avg merge
1h 1m
Merged PRs (30d)
2

Description

When defining view settings to the constructor like this, the window is unable to create an OpenGL context:
```csharp
using var window = new EditorWindow(scene, project!, new DefaultViewSettings() with
{
WindowOptions = new Silk.NET.Windowing.WindowOptions() with
{
Size = new Vector2D(1280, 720),
Title = "test"
}
});
```

However, if you create a window like this, everythig works:
```csharp
using var window = new EditorWindow(scene, project!, new DefaultViewSettings());
```

NOTE: This MIGHT be a Silk.NET issue. Needs more investigation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.