Browse Source

docs/sphinx: Fix vec3_set

vec4_set was the equivalent to vec2_set.

Closes jp9000/obs-studio#1115
SuslikV 7 years ago
parent
commit
2741337755
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/sphinx/reference-libobs-graphics-vec4.rst

+ 2 - 2
docs/sphinx/reference-libobs-graphics-vec4.rst

@@ -39,14 +39,14 @@
 
 ---------------------
 
-.. function:: void vec4_set(struct vec4 *dst, float x, float y)
+.. function:: void vec4_set(struct vec4 *dst, float x, float y, float z, float w)
 
    Sets the individual components of a 4-component vector.
 
    :param dst: Destination
    :param x:   X component
    :param y:   Y component
-   :param y:   Z component
+   :param z:   Z component
    :param w:   W component
 
 ---------------------