Skip to content
  • Emil Velikov's avatar
    mapi: print function declarations for shared glapi · 3b6aaab7
    Emil Velikov authored and Emma Anholt's avatar Emma Anholt committed
    
    
    Earlier commit aimed to remove unneeded function declarations. Namely
    OpenGL entrypoints which are not applicable for OpenGLES*
    
    Although it did not consider the shared glapi which needs all,
    including hidden ones. Resulting in warning/errors like the following
    
    ../build/src/mapi/shared-glapi/glapi_mapi_tmp.h:26014:15:
    error: no previous prototype for ‘shared_dispatch_stub_1414’ [-Werror=missing-prototypes]
    
    This patch addressed that.
    
    Cc: Erik Faye-Lund <erik.faye-lund@collabora.com>
    Reported-by: default avatarEric Anholt <eric@anholt.net>
    Fixes: 6148cce3
    
     ("mapi: drop unneeded gl_dispatch_stub declarations")
    Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
    Acked-by: default avatarEric Anholt <eric@anholt.net>
    3b6aaab7