build shaders for either desktop gl or gles2

This commit is contained in:
Konstantin Käfer
2014-03-25 13:16:48 +01:00
parent b4d5378bc7
commit 77f58960c4
6 changed files with 48 additions and 98 deletions

View File

@@ -1,29 +0,0 @@
// NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED.
#ifndef LLMR_SHADER_SHADERS
#define LLMR_SHADER_SHADERS
namespace llmr {
struct shader_source {
const char *vertex;
const char *fragment;
};
enum {
LINE_SHADER,
LINEJOIN_SHADER,
OUTLINE_SHADER,
PATTERN_SHADER,
PLAIN_SHADER,
POINT_SHADER,
RASTER_SHADER,
TEXT_SHADER,
SHADER_COUNT
};
extern const shader_source shaders[SHADER_COUNT];
}
#endif