quakeforge/include/vid_sw.h
Bill Currie 4c90c3c4bb [sw] Remove pixbytes from sw_ctx_t
It's no longer needed as the sw renderer is 8-bit only.
2022-03-21 14:37:28 +09:00

16 lines
424 B
C

#ifndef __vid_sw_h
#define __vid_sw_h
struct vrect_s;
typedef struct sw_ctx_s {
void (*choose_visual) (struct sw_ctx_s *ctx);
void (*create_context) (struct sw_ctx_s *ctx);
void (*set_palette) (struct sw_ctx_s *ctx, const byte *palette);
void (*update) (struct sw_ctx_s *ctx, struct vrect_s *rects);
} sw_ctx_t;
extern sw_ctx_t *sw_ctx;
struct tex_s *sw_SCR_CaptureBGR (void);
#endif//__vid_sw_h