@@ -47,12 +47,12 @@ private void ThrowGlPrematureAccessException()
4747 if ( IsSurfaceInitialized )
4848 {
4949 throw new InvalidOperationException (
50- "The OpenGl context cannot be accessed as it was not enabled during "
50+ "The OpenGL context cannot be accessed as it was not enabled during "
5151 + "ISurfaceApplication.Initialize<TSurface>(TSurface)."
5252 ) ;
5353 }
5454 throw new InvalidOperationException (
55- "The OpenGl context cannot be accessed until ISurfaceApplication.Initialize<TSurface>(TSurface) "
55+ "The OpenGL context cannot be accessed until ISurfaceApplication.Initialize<TSurface>(TSurface) "
5656 + "has finished executing, consider using the Surface.Created callback instead."
5757 ) ;
5858 }
@@ -217,7 +217,7 @@ private bool TryCreateContext(bool isInitializing)
217217 if ( Handle == nullptr && isInitializing )
218218 {
219219 throw new InvalidOperationException (
220- "Attempted to initialize OpenGl context before window initialization - this should not be possible "
220+ "Attempted to initialize OpenGL context before window initialization - this should not be possible "
221221 + "with normal usage. Please report this at https://github.com/dotnet/Silk.NET"
222222 ) ;
223223 }
@@ -229,7 +229,7 @@ private bool TryCreateContext(bool isInitializing)
229229 && GetDummyWindow ( Sdl . WindowOpengl , nFlags : Sdl . WindowVulkan ) == nullptr
230230 )
231231 {
232- // Guess OpenGl isn't supported after all...
232+ // Guess OpenGL isn't supported after all...
233233 ClearErrorIf ( ! isInitializing ) ;
234234 return false ;
235235 }
@@ -251,7 +251,7 @@ private bool TryCreateContext(bool isInitializing)
251251 if ( isInitializing )
252252 {
253253 throw new NotSupportedException (
254- "On this platform, SharedContext must be either a Silk.NET.SDL.SdlContext an OpenGl component "
254+ "On this platform, SharedContext must be either a Silk.NET.SDL.SdlContext an OpenGL component "
255255 + "retrieved from a surface created using ISurfaceApplication.Run<T>() or "
256256 + "IDetachedSurfaceLifecycle.TryCreate<T>(out IDetachedSurfaceLifecycle?)."
257257 ) ;
0 commit comments