2021-26-03

+ Texture compression

~ General spring cleaning
This commit is contained in:
Michel Fedde 2021-03-26 14:23:59 +01:00
parent bf1118c261
commit 7afec9c9ef
8 changed files with 42 additions and 32 deletions

View file

@ -66,7 +66,7 @@ namespace SM.OGL
/// <summary>
/// Checks for OpenGL errors, while allowing to put stuff before and behind it.
/// </summary>
/// <param name="formating"></param>
/// <param name="formating">To decided where to put the error code into, just enter "%code%" to that specific place.</param>
/// <returns></returns>
public static bool CheckGLErrors(string formating)
{

View file

@ -97,7 +97,7 @@ namespace SM.OGL.Shaders
foreach (ShaderFile file in Fragment)
GL.DetachShader(shader, file);
GLDebugging.CheckGLErrors($"Error at detaching '{shader.GetType()}'");
GLDebugging.CheckGLErrors($"Error at detaching '{shader.GetType()}': %code%");
}
}
}