Skip to content

Commit fbc0edd

Browse files
committed
Cache the result of function pointer loading
1 parent 5606e93 commit fbc0edd

File tree

5 files changed

+24390
-8372
lines changed

5 files changed

+24390
-8372
lines changed

sources/OpenGL/OpenGL/GL.gen.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public partial class ThisThread : IGL.Static
2323
public static partial void MakeCurrent(IGL ctx);
2424
}
2525

26+
private readonly unsafe void*[] _slots = new void*[3291];
27+
2628
public static IGL Create(INativeContext ctx) => new GL(ctx);
2729

2830
/// <inheritdoc/>

0 commit comments

Comments
 (0)