The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/client: Replace `glTextureStorageMem2DEXT` with `glTexStorageMem2DEXT`

authored by

zhz and committed by
Simon Zeni
c5cf26f3 d232e735

+4 -4
+4 -4
src/xrt/compositor/client/comp_gl_memobj_swapchain.c
··· 137 137 xscn->images[i].handle = XRT_GRAPHICS_BUFFER_HANDLE_INVALID; 138 138 139 139 if (info->array_size == 1) { 140 - glTextureStorageMem2DEXT(xscgl->images[i], info->mip_count, (GLuint)info->format, info->width, 141 - info->height, sc->memory[i], 0); 140 + glTexStorageMem2DEXT(tex_target, info->mip_count, (GLuint)info->format, info->width, 141 + info->height, sc->memory[i], 0); 142 142 } else { 143 - glTextureStorageMem3DEXT(xscgl->images[i], info->mip_count, (GLuint)info->format, info->width, 144 - info->height, info->array_size, sc->memory[i], 0); 143 + glTexStorageMem3DEXT(tex_target, info->mip_count, (GLuint)info->format, info->width, 144 + info->height, info->array_size, sc->memory[i], 0); 145 145 } 146 146 } 147 147