cleanup
parent
6f83b81132
commit
91d3f9a03a
|
@ -370122,10 +370122,10 @@ unsigned shader(const char *vs, const char *fs, const char *attribs, const char
|
|||
|
||||
static inline
|
||||
char *shader_preprocess(const char *src, const char *defines) {
|
||||
const char *glsl_version = va("#version %s", ifdef(ems, "300 es", "150"));
|
||||
|
||||
if (!src) return NULL;
|
||||
|
||||
const char *glsl_version = va("#version %s", ifdef(ems, "300 es", "150"));
|
||||
|
||||
// detect GLSL version if set
|
||||
if (src[0] == '#' && src[1] == 'v') {
|
||||
const char *end = strstri(src, "\n");
|
||||
|
|
|
@ -94,10 +94,10 @@ unsigned shader(const char *vs, const char *fs, const char *attribs, const char
|
|||
|
||||
static inline
|
||||
char *shader_preprocess(const char *src, const char *defines) {
|
||||
const char *glsl_version = va("#version %s", ifdef(ems, "300 es", "150"));
|
||||
|
||||
if (!src) return NULL;
|
||||
|
||||
const char *glsl_version = va("#version %s", ifdef(ems, "300 es", "150"));
|
||||
|
||||
// detect GLSL version if set
|
||||
if (src[0] == '#' && src[1] == 'v') {
|
||||
const char *end = strstri(src, "\n");
|
||||
|
|
|
@ -17268,10 +17268,10 @@ unsigned shader(const char *vs, const char *fs, const char *attribs, const char
|
|||
|
||||
static inline
|
||||
char *shader_preprocess(const char *src, const char *defines) {
|
||||
const char *glsl_version = va("#version %s", ifdef(ems, "300 es", "150"));
|
||||
|
||||
if (!src) return NULL;
|
||||
|
||||
const char *glsl_version = va("#version %s", ifdef(ems, "300 es", "150"));
|
||||
|
||||
// detect GLSL version if set
|
||||
if (src[0] == '#' && src[1] == 'v') {
|
||||
const char *end = strstri(src, "\n");
|
||||
|
|
Loading…
Reference in New Issue