PyDoc: fix 2D builtin shaders documentation

2D shaders require the `vec2` attribute for "pos" (not `vec3`)
This commit is contained in:
2022-07-28 14:34:42 -03:00
parent ea23e937ce
commit fafb901baa

View File

@@ -31,16 +31,16 @@
#define PYDOC_BUILTIN_SHADER_DESCRIPTION \
"``2D_FLAT_COLOR``\n" \
" :Attributes: vec3 pos, vec4 color\n" \
" :Attributes: vec2 pos, vec4 color\n" \
" :Uniforms: none\n" \
"``2D_IMAGE``\n" \
" :Attributes: vec3 pos, vec2 texCoord\n" \
" :Attributes: vec2 pos, vec2 texCoord\n" \
" :Uniforms: sampler2D image\n" \
"``2D_SMOOTH_COLOR``\n" \
" :Attributes: vec3 pos, vec4 color\n" \
" :Attributes: vec2 pos, vec4 color\n" \
" :Uniforms: none\n" \
"``2D_UNIFORM_COLOR``\n" \
" :Attributes: vec3 pos\n" \
" :Attributes: vec2 pos\n" \
" :Uniforms: vec4 color\n" \
"``3D_FLAT_COLOR``\n" \
" :Attributes: vec3 pos, vec4 color\n" \