diff options
author | Ilia Mirkin <[email protected]> | 2014-03-05 22:34:27 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-03-05 22:51:58 -0500 |
commit | 3649800009bffc7787f08c32cfee355b8e874b20 (patch) | |
tree | 8609c5173096ed005dcb3d27455f28916719f2d7 /src/glsl/opt_vectorize.cpp | |
parent | 4c68c6dcffe6c738d563eb0e0650bb865a5457b2 (diff) |
mesa/st: only compare the one scissor
sizeof(scissor) returns the size of the full array rather than a single
element. Fix it to consider just the one element.
Fixes: 0705fa35 ("st/mesa: add support for GL_ARB_viewport_array (v0.2)")
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glsl/opt_vectorize.cpp')
0 files changed, 0 insertions, 0 deletions