Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Functions returning multiple GLFWvidmodes or GLFWmonitors only return one #11

Open
nsglover opened this issue Dec 26, 2017 · 6 comments

Comments

@nsglover
Copy link

There are a few functions that don't return what the GLFW documentation says they should:

There may be others; I'll be sure to update this issue if I find any.

Should be a simple fix; looks like the CppSharp-generated file (/generated/GLFW3.cs) just needs a little tweaking. I tried to figure it out myself (if I had this would have been a pull request), but was unsuccessful. Thanks!

@realvictorprm
Copy link
Owner

Hm let me see, the CppSharp Version used here should be updated anyway (The build system should use a dependency on the nuget package).

@realvictorprm
Copy link
Owner

Ah I forgot that I fixed that part of the build system some time ago xD

@realvictorprm
Copy link
Owner

Okay, I looked into the generated file again and agree on your observation. The generated code is very wrong but I first need to find out why this is the case. If this is a bug in CppSharp I'll try to fix it.

Thanks @NathanielGlover for reporting!

@nsglover
Copy link
Author

Sure thing! I don't know if this helps any, but I'm using the RawBinding build on Mono.

@realvictorprm
Copy link
Owner

This Looks to me like a bug in CppSharp but I'm still checking.

@MarkWilds
Copy link

I noticed this problem still exists?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants