main
Dominik Madarász 2024-03-20 19:42:49 +01:00
parent 6f83b81132
commit 91d3f9a03a
3 changed files with 6 additions and 6 deletions

View File

@ -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");

View File

@ -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");

View File

@ -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");