File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments