#pragma once #include 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);