fix for webGL rendering on main

This commit is contained in:
ZGrandison 2022-02-15 14:07:44 -05:00
parent a0bace91a0
commit ff51b6911d
2 changed files with 2 additions and 8 deletions

6
.gitignore vendored
View File

@ -10,12 +10,6 @@ dist/*
# Include the built-in asset folder
!dist/builtin/
# Include the hw1 assets
!dist/hw3_assets/
# Include the hw1 assets
!dist/hw4_assets/
### IF YOU ARE MAKING A PROJECT, YOU MAY WANT TO UNCOMMENT THIS LINE ###
# !dist/assets/

View File

@ -393,10 +393,10 @@ export default class ResourceManager {
case ResourceType.JSON:
this.jsonObjects.delete(resource.key);
break;
case ResourceType.SHADER:
/*case ResourceType.SHADER:
this.gl_ShaderPrograms.get(resource.key).delete(this.gl);
this.gl_ShaderPrograms.delete(resource.key);
break;
break;*/
}
// Delete any dependencies