mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-11 13:08:11 +00:00
SkinRenderer.cs - Removed call to GL.DebugMessageCallback
This commit is contained in:
@@ -88,16 +88,6 @@ namespace PckStudio.Rendering
|
||||
set => camera.LookAt(value);
|
||||
}
|
||||
|
||||
private void GLDebugMessage(DebugSource source, DebugType type, int id, DebugSeverity severity, int length, IntPtr message, IntPtr userParam)
|
||||
{
|
||||
string msg = Marshal.PtrToStringAnsi(message, length);
|
||||
Debug.WriteLine(source);
|
||||
Debug.WriteLine(type);
|
||||
Debug.WriteLine(severity);
|
||||
Debug.WriteLine(id);
|
||||
Debug.WriteLine(msg);
|
||||
}
|
||||
|
||||
private Vector2 _globalModelRotation;
|
||||
private Vector2 GlobalModelRotation
|
||||
{
|
||||
@@ -243,8 +233,6 @@ namespace PckStudio.Rendering
|
||||
|
||||
Trace.TraceInformation(GL.GetString(StringName.Version));
|
||||
|
||||
GL.DebugMessageCallback(GLDebugMessage, IntPtr.Zero);
|
||||
|
||||
_skinShader = Shader.Create(Resources.skinVertexShader, Resources.skinFragmentShader);
|
||||
_skinShader.Bind();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user