blob: e9dd8aee2e07bb0ee25b02a0c8fd9860fe02fb38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include <stdint.h>
struct GfxInfo {
char *b;
uint32_t width, height;
uint32_t pitch; /* width in bytes of a single scanline */
size_t size;
uint8_t bpp;
};
void video_init(GfxInfo);
|