To declare both errors and no errors GL prototypes. Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- src/mesa/main/glheader.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 3f2a923782..eeee1976ed 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -182,6 +182,9 @@ typedef void *GLeglImageOES; #define GLX_DONT_CARE 0xFFFFFFFF +#define DECL_GLAPIENTRY(ret, name, ...) \ + ret GLAPIENTRY _mesa_##name##_no_error(__VA_ARGS__); \ + ret GLAPIENTRY _mesa_##name(__VA_ARGS__); #ifdef __cplusplus } -- 2.13.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev