mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
qml/gl: fix array definition
Some implementations require the [N] to suffixed to the variable name. Error message example: 'syntax error: Array size must appear after variable name' Follow up with https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5123 of https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5119 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5137>
This commit is contained in:
parent
f3ce30a55a
commit
ea2a44cb97
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ vertexShaderForFormat(GstVideoFormat v_format)
|
|||
"uniform sampler2D " UNIFORM_TRIPLANAR_PLANE2 ";\n"
|
||||
|
||||
#define uniform_swizzle \
|
||||
"uniform int[4] " UNIFORM_SWIZZLE_COMPONENTS_NAME ";\n"
|
||||
"uniform int " UNIFORM_SWIZZLE_COMPONENTS_NAME "[4];\n"
|
||||
#define uniform_opacity \
|
||||
"uniform float " UNIFORM_OPACITY_NAME ";\n"
|
||||
#define uniform_yuv_to_rgb_color_matrix \
|
||||
|
|
Loading…
Reference in a new issue