fix opengl bug
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2025-05-16 11:27:36 -04:00
parent 62ede14baa
commit b58e96f315
2 changed files with 3 additions and 1 deletions

View File

@ -1840,6 +1840,8 @@ Physics numbers reworked
(05/16/2025)
Capsule-BlockChunk collision correction in collidable trees
Out-of-context typescript compilation that falls back to in-context compilation
Fix opengl bug

View File

@ -500,7 +500,7 @@ public class VisualShader implements Shader {
* Frees the shader
*/
public void free(){
GL40.glDeleteShader(this.getId());
GL40.glDeleteProgram(this.getId());
this.shaderId = VisualShader.INVALID_UNIFORM_NAME;
}