Update shader_basic_pbr example to work on web
changed to GLSL_VERSION 100 update glsl100 shader set float precision to highp removed keyword in change for loop tu use constant value gives an error
This commit is contained in:
parent
bb85b8faa8
commit
33d14c3832
1 changed files with 9 additions and 9 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 120
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
#include <stdlib.h> // Required for: NULL
|
||||
|
|
|
|||
Loading…
Reference in a new issue