mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Make shader names consistent, step 2
This commit is contained in:
parent
3b2b7580db
commit
35d8ec12c5
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user