libdrm: fix ABI change in drm_mode_get_encoder

The encoder_type field should be at the top to match the kernel.
main
Jesse Barnes 2008-10-29 12:17:39 -07:00
parent af118cd186
commit 1db35ba583
1 changed files with 2 additions and 2 deletions

View File

@ -126,10 +126,10 @@ struct drm_mode_crtc {
#define DRM_MODE_ENCODER_TVDAC 4
struct drm_mode_get_encoder {
unsigned int encoder_type;
unsigned int encoder_id;
unsigned int crtc_id; /**< Id of crtc */
uint32_t encoder_type;
unsigned int crtc_id; /**< Id of crtc */
uint32_t possible_crtcs;
uint32_t possible_clones;