mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
loader: Stop using a local definition for an in-tree header
I need other types from the header now, and "gl.h is big" is not a good reason to duplicate definitions. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
2bc1f5c2e7
commit
cc19815738
1 changed files with 2 additions and 8 deletions
|
|
@ -41,6 +41,8 @@
|
|||
#ifdef MAJOR_IN_SYSMACROS
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
#include <GL/gl.h>
|
||||
#include <GL/internal/dri_interface.h>
|
||||
#include "loader.h"
|
||||
|
||||
#ifdef HAVE_LIBDRM
|
||||
|
|
@ -492,14 +494,6 @@ loader_set_logger(void (*logger)(int level, const char *fmt, ...))
|
|||
log_ = logger;
|
||||
}
|
||||
|
||||
/* XXX: Local definition to avoid pulling the heavyweight GL/gl.h and
|
||||
* GL/internal/dri_interface.h
|
||||
*/
|
||||
|
||||
#ifndef __DRI_DRIVER_GET_EXTENSIONS
|
||||
#define __DRI_DRIVER_GET_EXTENSIONS "__driDriverGetExtensions"
|
||||
#endif
|
||||
|
||||
char *
|
||||
loader_get_extensions_name(const char *driver_name)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue