diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 28b14c4..3583fa2 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -6455,6 +6455,7 @@ static int vrend_renderer_resource_allocate_texture(struct vrend_resource *gr, has_feature(feat_egl_image_storage)) { glEGLImageTargetTexStorageEXT(gr->target, (GLeglImageOES) image_oes, NULL); } else if (has_feature(feat_egl_image_external)) { + gr->storage_bits &= ~VREND_STORAGE_GL_IMMUTABLE; glEGLImageTargetTexture2DOES(gr->target, (GLeglImageOES) image_oes); } else { vrend_printf( "missing GL_OES_EGL_image_external extensions\n");