Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e7d9d5d authored by Krzysztof Kosiński's avatar Krzysztof Kosiński
Browse files

Remove temporary hack from gl2ext.h header.

hwui/debug no longer references glMultiDrawElementsBaseVertexOES after
ag/3831170 has been merged, so the temporary addition of that misnamed
function to the header is no longer necessary. The gl2ext.h header now
exactly matches the Khronos version.

Bug: 76152545
Test: Flashed Pixel XL and ran some VR test cases from CTS.
Change-Id: If4a5a2b5f1a73624bf6c96bd0b4cd4e9182a0499
parent ac6521d7
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -3612,17 +3612,6 @@ GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
#define GL_SHADER_BINARY_VIV              0x8FC4
#endif /* GL_VIV_shader_binary */

/* Temporary hack to allow frameworks/base/libs/hwui/debug to build.
 * This function was removed from the Khronos version of the headers
 * (it is specified with the EXT prefix, not OES). */
#ifndef GL_ANDROID_draw_elements_base_vertex_backwards_compatibility
#define GL_ANDROID_draw_elements_base_vertex_backwards_compatibility 1
typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
#ifdef GL_GLEXT_PROTOTYPES
GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
#endif
#endif /* GL_ANDROID_draw_elements_base_vertex_backwards_compatibility */

#ifdef __cplusplus
}
#endif