+6
src/xrt/auxiliary/ogl/ogl_helpers.c
+6
src/xrt/auxiliary/ogl/ogl_helpers.c
···
98
98
const struct xrt_swapchain_create_info *info,
99
99
struct ogl_import_results *results)
100
100
{
101
+
#if defined(XRT_OS_ANDROID_USE_AHB)
102
+
// Function is disabled for AHardwareBuffer, glImportMemoryFdEXT requires an actual FD and requires more work
103
+
// to handle AHardwareBuffer.
104
+
return false;
105
+
#endif
106
+
101
107
// Setup fields.
102
108
results->width = info->width;
103
109
results->height = info->height;