mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-30 10:17:43 +00:00
Shader.cs - Add assersion when shader linkage fails
This commit is contained in:
@@ -133,7 +133,8 @@ namespace PckStudio.Rendering
|
||||
}
|
||||
|
||||
var shader = new Shader(programId);
|
||||
shader.Link();
|
||||
bool success = shader.Link();
|
||||
Debug.Assert(success, "Shader Program linking failed.");
|
||||
|
||||
foreach (var shaderId in shaderIds)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user