Make shader names consistent, step 2

This commit is contained in:
Jean-André Santoni 2016-11-19 00:23:07 +01:00
parent 3b2b7580db
commit 35d8ec12c5
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#include "shaders_common.h"
static const char *stock_vertex_xmb_legacy = GLSL(
static const char *stock_vertex_xmb_ribbon_legacy = GLSL(
attribute vec3 VertexCoord;
uniform float time;
varying vec3 fragVertexEc;

View File

@ -1,6 +1,6 @@
#include "shaders_common.h"
static const char *stock_vertex_xmb_modern = GLSL(
static const char *stock_vertex_xmb_ribbon_modern = GLSL(
in vec3 VertexCoord;
uniform float time;
out vec3 fragVertexEc;

View File

@ -941,7 +941,7 @@ static void *gl_glsl_init(void *data, const char *path)
shader_prog_info.vertex = stock_vertex_xmb_simple_legacy;
shader_prog_info.fragment = stock_fragment_xmb_simple;
#else
shader_prog_info.vertex = glsl_core ? stock_vertex_xmb_modern : stock_vertex_xmb_legacy;
shader_prog_info.vertex = glsl_core ? stock_vertex_xmb_ribbon_modern : stock_vertex_xmb_ribbon_legacy;
shader_prog_info.fragment = stock_fragment_xmb;
#endif
shader_prog_info.is_file = false;