Review default shaders usage on loading

This commit is contained in:
raysan5
2017-11-12 10:33:44 +01:00
parent e12182f59b
commit 09228752ce
3 changed files with 45 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
// Vertex shader definition to embed, no external file required
static const char vDistortionShaderStr[] =
static const char distortionVShaderStr[] =
#if defined(GRAPHICS_API_OPENGL_21)
"#version 120 \n"
#elif defined(GRAPHICS_API_OPENGL_ES2)
@@ -29,7 +29,7 @@ static const char vDistortionShaderStr[] =
"} \n";
// Fragment shader definition to embed, no external file required
static const char fDistortionShaderStr[] =
static const char distortionFShaderStr[] =
#if defined(GRAPHICS_API_OPENGL_21)
"#version 120 \n"
#elif defined(GRAPHICS_API_OPENGL_ES2)