auto opengl/es shader headers

This commit is contained in:
2019-07-31 01:51:48 +07:00
parent 747c24177e
commit 7501a6d676
15 changed files with 104 additions and 42 deletions

View File

@@ -10,8 +10,6 @@ using namespace e2d;
namespace
{
const char* vs_source_cstr = R"glsl(
#version 120
attribute vec3 a_position;
attribute vec2 a_uv;
attribute vec4 a_color;
@@ -30,8 +28,6 @@ namespace
)glsl";
const char* fs_source_cstr = R"glsl(
#version 120
uniform sampler2D u_texture;
varying vec4 v_color;
varying vec2 v_uv;