14 lines
212 B
C
14 lines
212 B
C
#pragma once
|
|
|
|
#include <draw.h>
|
|
|
|
struct draw_state {
|
|
int width;
|
|
int height;
|
|
framebuffer_t fb;
|
|
zbuffer_t zb;
|
|
int vmode;
|
|
int gmode;
|
|
};
|
|
|
|
int gs_init(struct draw_state *ds, int psm, int psmz); |