aboutsummaryrefslogtreecommitdiff
path: root/include/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/display.h')
-rw-r--r--include/display.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/display.h b/include/display.h
index efaf6f9..63fc7b2 100644
--- a/include/display.h
+++ b/include/display.h
@@ -14,7 +14,7 @@ typedef struct {
typedef struct {
Size id[2];
- u16 *map[2];
+ u32 *map[2];
Size stride;
Size size;
} Framebuffer;
@@ -24,11 +24,12 @@ typedef struct {
Framebuffer fb;
Surface surface;
- struct drm_mode_get_connector connector;
- struct drm_mode_get_encoder encoder;
struct drm_mode_crtc crtc;
+ struct drm_mode_modeinfo mode;
+ struct drm_mode_get_connector connector;
+
+ Size devfd, ttyfd;
- Size devFd, ttyFd;
Size active;
} Display;