summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texturebindless.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texturebindless.c')
-rw-r--r--src/mesa/main/texturebindless.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texturebindless.c b/src/mesa/main/texturebindless.c
index f062ea904a1..9aaa0367c2d 100644
--- a/src/mesa/main/texturebindless.c
+++ b/src/mesa/main/texturebindless.c
@@ -327,6 +327,7 @@ get_image_handle(struct gl_context *ctx, struct gl_texture_object *texObj,
} else {
imgObj.Layered = GL_FALSE;
imgObj.Layer = 0;
+ imgObj._Layer = 0;
}
/* Request a new image handle from the driver. */