question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing GLFW_ANGLE_PLATFORM_TYPE ?

See original GitHub issue

Summary

Can you add GLFW_ANGLE_PLATFORM_TYPE for the shared initialization hints for InitHint? (glfwInitHint). The second value should be an int, to support for example GLFW_ANGLE_PLATFORM_TYPE.

You could add:

public enum InitHint {
  // ...
  AnglePlatformType = 0x00050002
  // ...
}

And perhaps changing bool to int for second parameter of InitHint, like this:

public partial void InitHint(InitHint hint, int value);

Since this is the official code from glfw3:

GLFWAPI void glfwInitHint(int hint, int value);

Steps to reproduce

  • Platform: Mobile/Desktop
  • Framework Version: .NET Core 7
  • API: OpenGL
  • API Version: OpenGLES/ANGLE
  1. Trying with GlfwProvider.UninitializedGLFW.Value.InitHint() and with WindowHint(WindowHintContextApi.ContextCreationApi, ContextApi.EglContextApi);
  2. Cannot specify InitHint to use ANGLE.

I’m also attempting to use the Silk.NET.OpenGLES.ANGLE.Native binaries.

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Perkseycommented, Mar 3, 2023

Don’t be silly, that’d be too sensible!

0reactions
cyraidcommented, Mar 6, 2023

Added the Pull Request, let me know what you think @Perksey Take care.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in partial missing values for GL field · Issue #140
Unfortunately, the scripts fails after a few seconds and outputs the following error: "partial missing values for GL field".
Read more >
Mplus Discussion >> Implications of type = missing
In comparing some models that I have run, when I include type = missing, the sign of some factor loadings from latent variables...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found