mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
Leave only GLSL_330 macro
This commit is contained in:
parent
2056d25e3e
commit
da6a74b2dc
@ -1,6 +1,6 @@
|
||||
#include "shaders_common.h"
|
||||
|
||||
static const char *nuklear_fragment_shader = GLSL_330_ES(
|
||||
static const char *nuklear_fragment_shader = GLSL_330(
|
||||
precision mediump float;
|
||||
uniform sampler2D Texture;
|
||||
in vec2 Frag_UV;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "shaders_common.h"
|
||||
|
||||
static const char *nuklear_vertex_shader = GLSL_330_ES(
|
||||
static const char *nuklear_vertex_shader = GLSL_330(
|
||||
uniform mat4 ProjMtx;
|
||||
in vec2 Position;
|
||||
in vec2 TexCoord;
|
||||
|
@ -3,12 +3,10 @@
|
||||
|
||||
#if defined(HAVE_OPENGLES)
|
||||
#define GLSL(src) "precision mediump float;\n" #src
|
||||
#define GLSL_330_ES(src) "#version 330 es\nprecision mediump float;\n" #src
|
||||
#define GLSL_330_CORE(src) "#version 330 es\nprecision mediump float;\n" #src
|
||||
#define GLSL_330(src) "#version 330 es\nprecision mediump float;\n" #src
|
||||
#else
|
||||
#define GLSL(src) "" #src
|
||||
#define GLSL_330_ES(src) "#version 330 core\n" #src
|
||||
#define GLSL_330_CORE(src) "#version 330 core\n" #src
|
||||
#define GLSL_330(src) "#version 330 core\n" #src
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user