Skip to content

Commit 4634117

Browse files
committed
Revert changes to ContextSourceExtensions
1 parent 9bbf8be commit 4634117

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sources/OpenGL/OpenGL/ContextSourceExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static class ContextSourceExtensions
99
{
1010
private static ConditionalWeakTable<IGLContext, IGL> _cwt = new();
1111

12-
public static IGL CreateOpenGl(this IGLContextSource src)
12+
public static IGL CreateOpenGL(this IGLContextSource src)
1313
{
1414
if (src.GLContext is not { } ctx)
1515
{
@@ -22,10 +22,10 @@ public static IGL CreateOpenGl(this IGLContextSource src)
2222
return GL.Create(ctx);
2323
}
2424

25-
public static IGL CreateOpenGl(this IGLContext ctx) => GL.Create(ctx);
25+
public static IGL CreateOpenGL(this IGLContext ctx) => GL.Create(ctx);
2626

2727
public static void MakeCurrent(this IGLContextSource src) => src.GLContext?.MakeCurrent();
2828

2929
public static void MakeCurrent(this IGLContext ctx) =>
30-
GL.ThisThread.MakeCurrent(_cwt.GetValue(ctx, c => c.CreateOpenGl()));
30+
GL.ThisThread.MakeCurrent(_cwt.GetValue(ctx, c => c.CreateOpenGL()));
3131
}

0 commit comments

Comments
 (0)