egl: Use only libdrm structs for kms

This commit is contained in:
Jakob Bornecrantz 2009-02-11 16:53:53 +01:00
parent 7ef8e4e181
commit 2c8c09edda
3 changed files with 4 additions and 4 deletions

View file

@ -16,11 +16,11 @@
* Util functions
*/
static struct drm_mode_modeinfo *
static drmModeModeInfoPtr
drm_find_mode(drmModeConnectorPtr connector, _EGLMode *mode)
{
int i;
struct drm_mode_modeinfo *m = NULL;
drmModeModeInfoPtr m = NULL;
for (i = 0; i < connector->count_modes; i++) {
m = &connector->modes[i];

View file

@ -92,7 +92,7 @@ drm_update_res(struct drm_device *dev)
static void
drm_add_modes_from_connector(_EGLScreen *screen, drmModeConnectorPtr connector)
{
struct drm_mode_modeinfo *m;
drmModeModeInfoPtr m = NULL;
int i;
for (i = 0; i < connector->count_modes; i++) {

View file

@ -128,7 +128,7 @@ struct drm_screen
/*drmModeCrtcPtr crtc;*/
uint32_t crtcID;
struct drm_mode_modeinfo *mode;
drmModeModeInfoPtr mode;
};