Removed all references to unused GLSL shader pre-header.

This commit is contained in:
Rinnegatamante
2020-10-17 18:11:49 +02:00
parent 5786b11751
commit d0c7629b63
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -62,8 +62,8 @@ openIm2D(void)
#include "shaders/im2d_gl3.inc"
#include "shaders/simple_fs_gl3.inc"
#endif
const char *vs[] = { shaderDecl, header_vert_src, im2d_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
const char *vs[] = { header_vert_src, im2d_vert_src, nil };
const char *fs[] = { header_frag_src, simple_frag_src, nil };
im2dShader = Shader::create(vs, fs);
assert(im2dShader);
}
@@ -186,8 +186,8 @@ openIm3D(void)
#include "shaders/im3d_gl3.inc"
#include "shaders/simple_fs_gl3.inc"
#endif
const char *vs[] = { shaderDecl, header_vert_src, im3d_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
const char *vs[] = { header_vert_src, im3d_vert_src, nil };
const char *fs[] = { header_frag_src, simple_frag_src, nil };
im3dShader = Shader::create(vs, fs);
assert(im3dShader);
}
+2 -2
View File
@@ -172,8 +172,8 @@ matfxOpen(void *o, int32, int32)
#else
#include "shaders/matfx_gl3.inc"
#endif
const char *vs[] = { shaderDecl, header_vert_src, matfx_env_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, matfx_env_frag_src, nil };
const char *vs[] = { header_vert_src, matfx_env_vert_src, nil };
const char *fs[] = { header_frag_src, matfx_env_frag_src, nil };
envShader = Shader::create(vs, fs);
assert(envShader);
+2 -2
View File
@@ -287,8 +287,8 @@ skinOpen(void *o, int32, int32)
#include "shaders/simple_fs_gl3.inc"
#include "shaders/skin_gl3.inc"
#endif
const char *vs[] = { shaderDecl, header_vert_src, skin_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
const char *vs[] = { header_vert_src, skin_vert_src, nil };
const char *fs[] = { header_frag_src, simple_frag_src, nil };
skinShader = Shader::create(vs, fs);
assert(skinShader);