mirror of https://gitlab.freedesktop.org/mesa/mesa
egl: Just include driconf.h instead of redefining its values.
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17470>
This commit is contained in:
parent
679e9697a9
commit
4c6a1e3f33
|
@ -68,6 +68,7 @@
|
|||
#include "util/u_vector.h"
|
||||
#include "mapi/glapi/glapi.h"
|
||||
#include "util/bitscan.h"
|
||||
#include "util/driconf.h"
|
||||
#include "util/u_math.h"
|
||||
|
||||
#define NUM_ATTRIBS 12
|
||||
|
|
|
@ -417,12 +417,6 @@ struct dri2_egl_sync {
|
|||
void *fence;
|
||||
};
|
||||
|
||||
/* From driconf.h, user exposed so should be stable */
|
||||
#define DRI_CONF_VBLANK_NEVER 0
|
||||
#define DRI_CONF_VBLANK_DEF_INTERVAL_0 1
|
||||
#define DRI_CONF_VBLANK_DEF_INTERVAL_1 2
|
||||
#define DRI_CONF_VBLANK_ALWAYS_SYNC 3
|
||||
|
||||
/* standard typecasts */
|
||||
_EGL_DRIVER_STANDARD_TYPECASTS(dri2_egl)
|
||||
_EGL_DRIVER_TYPECAST(dri2_egl_image, _EGLImage, obj)
|
||||
|
|
Loading…
Reference in New Issue