Missing closing quote in second string of LoadShader function, in last code example.

master
Jorge A. Gomes 6 年前
父节点
当前提交
908a12366e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      raylib-generic-uber-shader-and-custom-shaders.md

+ 1
- 1
raylib-generic-uber-shader-and-custom-shaders.md

@ -103,7 +103,7 @@ User can load any custom shader using provided `Material` and `Shader`structs:
```c
Material material = { 0 }; // Empty material
material.shader = LoadShader("custom_shader.vs", "custom_shader.fs);
material.shader = LoadShader("custom_shader.vs", "custom_shader.fs");
// Setup location points in case names are not predefined ones or more locations are required
// Use: GetShaderLocation() and SetShaderValue*() functions

正在加载...
取消
保存