mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 11:54:59 -04:00
rename shaders
This commit is contained in:
parent
784fb961ba
commit
288041f536
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user