Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Feb 26, 2024
1 parent 414baad commit 032faa9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/v4p/drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,25 @@ typedef struct {
drmModeModeInfo mode;
u32 conn_id;
us_drm_buffer_s *bufs;
unsigned n_bufs;
uint n_bufs;
drmModeCrtc *saved_crtc;
unsigned next_n_buf;
uint next_n_buf;
bool has_vsync;

us_ftext_s *ft;

unsigned p_width;
unsigned p_height;
uint p_width;
uint p_height;
float p_hz;

us_drm_state_e state;
} us_drm_runtime_s;

typedef struct {
char *path;
char *port;
unsigned n_bufs;
unsigned timeout;
char *path;
char *port;
uint n_bufs;
uint timeout;

us_drm_runtime_s *run;
} us_drm_s;
Expand Down

0 comments on commit 032faa9

Please sign in to comment.