update librw

This commit is contained in:
aap 2021-03-02 22:22:24 +01:00 committed by Sergeanur
parent 8ae4859398
commit f2b59f5097
2 changed files with 4 additions and 4 deletions

View file

@ -154,7 +154,7 @@ CreateVehiclePipe(void)
{ {
#include "shaders/obj/neoVehicle_frag.inc" #include "shaders/obj/neoVehicle_frag.inc"
#include "shaders/obj/neoVehicle_vert.inc" #include "shaders/obj/neoVehicle_vert.inc"
const char *vs[] = { shaderDecl, header_vert_src, neoVehicle_vert_src, nil }; const char *vs[] = { shaderDecl, "#define DIRECTIONALS\n", header_vert_src, neoVehicle_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, neoVehicle_frag_src, nil }; const char *fs[] = { shaderDecl, header_frag_src, neoVehicle_frag_src, nil };
neoVehicleShader = Shader::create(vs, fs); neoVehicleShader = Shader::create(vs, fs);
assert(neoVehicleShader); assert(neoVehicleShader);
@ -515,7 +515,7 @@ CreateRimLightPipes(void)
{ {
#include "shaders/obj/simple_frag.inc" #include "shaders/obj/simple_frag.inc"
#include "shaders/obj/neoRimSkin_vert.inc" #include "shaders/obj/neoRimSkin_vert.inc"
const char *vs[] = { shaderDecl, header_vert_src, neoRimSkin_vert_src, nil }; const char *vs[] = { shaderDecl, "#define DIRECTIONALS\n", header_vert_src, neoRimSkin_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil }; const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
neoRimSkinShader = Shader::create(vs, fs); neoRimSkinShader = Shader::create(vs, fs);
assert(neoRimSkinShader); assert(neoRimSkinShader);
@ -524,7 +524,7 @@ CreateRimLightPipes(void)
{ {
#include "shaders/obj/simple_frag.inc" #include "shaders/obj/simple_frag.inc"
#include "shaders/obj/neoRim_vert.inc" #include "shaders/obj/neoRim_vert.inc"
const char *vs[] = { shaderDecl, header_vert_src, neoRim_vert_src, nil }; const char *vs[] = { shaderDecl, "#define DIRECTIONALS\n", header_vert_src, neoRim_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil }; const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
neoRimShader = Shader::create(vs, fs); neoRimShader = Shader::create(vs, fs);
assert(neoRimShader); assert(neoRimShader);

2
vendor/librw vendored

@ -1 +1 @@
Subproject commit 0102f8836754c82b0ac35015bd1e6058904bc334 Subproject commit af20de45226f5152a035866da32517466e81142d