fix for webGL rendering on main
This commit is contained in:
parent
a0bace91a0
commit
ff51b6911d
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -10,12 +10,6 @@ dist/*
|
||||||
# Include the built-in asset folder
|
# Include the built-in asset folder
|
||||||
!dist/builtin/
|
!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 ###
|
### IF YOU ARE MAKING A PROJECT, YOU MAY WANT TO UNCOMMENT THIS LINE ###
|
||||||
# !dist/assets/
|
# !dist/assets/
|
||||||
|
|
||||||
|
|
|
@ -393,10 +393,10 @@ export default class ResourceManager {
|
||||||
case ResourceType.JSON:
|
case ResourceType.JSON:
|
||||||
this.jsonObjects.delete(resource.key);
|
this.jsonObjects.delete(resource.key);
|
||||||
break;
|
break;
|
||||||
case ResourceType.SHADER:
|
/*case ResourceType.SHADER:
|
||||||
this.gl_ShaderPrograms.get(resource.key).delete(this.gl);
|
this.gl_ShaderPrograms.get(resource.key).delete(this.gl);
|
||||||
this.gl_ShaderPrograms.delete(resource.key);
|
this.gl_ShaderPrograms.delete(resource.key);
|
||||||
break;
|
break;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete any dependencies
|
// Delete any dependencies
|
||||||
|
|
Loading…
Reference in New Issue
Block a user