瀏覽代碼

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

pull/3267/head
Branimir Ričko 1 年之前
committed by GitHub
父節點
當前提交
b27e98a428
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/rlgl.h

+ 1
- 0
src/rlgl.h 查看文件

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

Loading…
取消
儲存