diff options
Diffstat (limited to 'src/drivers/video/vga.h')
-rw-r--r-- | src/drivers/video/vga.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/video/vga.h b/src/drivers/video/vga.h index b9a5c87..0f55f74 100644 --- a/src/drivers/video/vga.h +++ b/src/drivers/video/vga.h @@ -42,6 +42,7 @@ typedef struct { port8_t attribute_controller_reset_port; vga_mode_t mode; void *context; + bool use_z_buffer; } vga_t; typedef struct { @@ -81,5 +82,6 @@ void vga_draw_rectangle( vga_t *vga, const int x, const int y, const int w, cons void vga_clear_screen( vga_t *vga, const vga_color_t color ); void vga_draw_char( vga_t *vga, const unsigned char c, const int x, const int y, const vga_color_t background, const vga_color_t foreground ); void vga_wait_for_retrace( vga_t *vga ); +void vga_use_z_buffer( vga_t *vga, bool use ); #endif // VGA_H |