mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
st/mesa: fix pipe_grid_info initializer
Fixes MSVC build error which doesn't allow empty initializers. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
628b0e8571
commit
b410ed9215
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ static void st_dispatch_compute_common(struct gl_context *ctx,
|
|||
ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE];
|
||||
struct st_context *st = st_context(ctx);
|
||||
struct pipe_context *pipe = st->pipe;
|
||||
struct pipe_grid_info info = {};
|
||||
struct pipe_grid_info info = { 0 };
|
||||
|
||||
if (ctx->NewState)
|
||||
_mesa_update_state(ctx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue