diff options
Diffstat (limited to 'src/drivers/video/vga.h')
-rw-r--r-- | src/drivers/video/vga.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/drivers/video/vga.h b/src/drivers/video/vga.h index 6934856..faafd8e 100644 --- a/src/drivers/video/vga.h +++ b/src/drivers/video/vga.h @@ -33,7 +33,6 @@ typedef struct { port8_t attribute_controller_read_port; port8_t attribute_controller_write_port; port8_t attribute_controller_reset_port; - vga_mode_t *mode; bool use_z_buffer; uint8_t *zbuffer; // stores either the address to the beginning of the segment @@ -53,12 +52,12 @@ void vga_print_info( void *obj ); bool vga_switch_mode( void *obj, const video_mode_t *mode ); -void vga_set_pixel( vga_t *vga, const int x, const int y, const video_rgb_color_t color ); -void vga_draw_rectangle( vga_t *vga, const int x, const int y, const int w, const int h, const video_rgb_color_t color ); -void vga_clear_screen( vga_t *vga, const video_rgb_color_t color ); -void vga_draw_char( vga_t *vga, const unsigned char c, const int x, const int y, const video_rgb_color_t background, const video_rgb_color_t foreground ); -void vga_wait_for_retrace( vga_t *vga ); -void vga_use_z_buffer( vga_t *vga, bool use ); -void vga_refresh( vga_t *vga ); +void vga_set_pixel( void *, const int x, const int y, const video_rgb_color_t color ); +void vga_draw_rectangle( void *, const int x, const int y, const int w, const int h, const video_rgb_color_t color ); +void vga_clear_screen( void *, const video_rgb_color_t color ); +void vga_draw_char( void *, const unsigned char c, const int x, const int y, const video_rgb_color_t background, const video_rgb_color_t foreground ); +void vga_wait_for_retrace( void * ); +void vga_use_z_buffer( void *, bool use ); +void vga_refresh( void * ); #endif // VGA_H |