
[CL] ContextProperties should be mapped to IntPtr, not int
Posted Monday, 4 January, 2010 - 11:50 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 1.0-2010-10-06 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This affects the first parameter of CreateContext() and CreateContextFromType().
The fix is simple (change csharp.tm to map cl_context_properties to IntPtr), but we also need to add helper overloads that take ContextProperties instead of IntPtr for compatibility.


Comments
#1
Fixed in r2576 (trunk).
To avoid overload explosion, I have added only the more common overloads for the helper methods. A complete implementation would result in ~60 overloads.
#2
Closing issues fixed in opentk-1.0-2010-10-06 release.