rename shaders

This commit is contained in:
Bixilon 2021-12-14 12:17:32 +01:00
parent 784fb961ba
commit 288041f536
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
7 changed files with 1 additions and 4 deletions

View File

@ -68,10 +68,7 @@ class OpenGLShader(
override fun load() { override fun load() {
val pathPrefix = "${resourceLocation.namespace}:rendering/shader/${resourceLocation.path}/${ val pathPrefix = "${resourceLocation.namespace}:rendering/shader/${resourceLocation.path}/${
resourceLocation.path.replace( resourceLocation.path.split("/").last()
"/",
"_"
)
}" }"
shader = glCreateProgram() shader = glCreateProgram()