Ver código fonte

Fix bug where default shaders was not linking. (#3261)

pull/3267/head
Branimir Ričko 1 ano atrás
committed by GitHub
pai
commit
b27e98a428
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      src/rlgl.h

+ 1
- 0
src/rlgl.h Ver arquivo

@ -4550,6 +4550,7 @@ static void rlLoadShaderDefault(void)
#endif
#if defined(GRAPHICS_API_OPENGL_ES2)
"#version 100 \n"
"precision mediump float; \n" // Precision required for OpenGL ES2 (WebGL) (on some browsers)
"attribute vec3 vertexPosition; \n"
"attribute vec2 vertexTexCoord; \n"
"attribute vec4 vertexColor; \n"

Carregando…
Cancelar
Salvar