-
-
Notifications
You must be signed in to change notification settings - Fork 444
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
I have been trying to use SDL to create a window (or in this case IView) in Android, but it is giving me the following error:
Silk.NET.SDL.SdlException: 'Application didn't initialize properly, did you include SDL_main.h in the file containing your main() function?'
This looks like an error from SDL, so I'm not sure what the cause would be.
Here's my code (that probably has something wrong):
var options = ViewOptions.Default; options.API = new GraphicsAPI(ContextAPI.OpenGLES, ContextProfile.Core, ContextFlags.Default, new APIVersion(3, 2)); vw = Window.GetView(options); vw.Run();
vw is an IView object.
Steps to reproduce (With code)
- Platform: Android Mobile Emulator Pixel 5
- Framework Version: .NET 8 & MAUI
- API: OpenGLES 3.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done