OSDN Git Service

Fix potential uninitialized read am: 6acf248c84 am: 1c4a1cf7e4
[android-x86/external-minigbm.git] / cros_gralloc / cros_gralloc_helpers.h
index 3e160ad..a55eebc 100644 (file)
 #include <system/graphics.h>
 #include <system/window.h>
 
-#if ANDROID_VERSION < 0x0900
-#define HAL_PIXEL_FORMAT_RGBA_FP16 0x16
-#endif
-
 constexpr uint32_t cros_gralloc_magic = 0xABCDDCBA;
 constexpr uint32_t handle_data_size =
     ((sizeof(struct cros_gralloc_handle) - offsetof(cros_gralloc_handle, fds[0])) / sizeof(int));