mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
16 lines
374 B
C
16 lines
374 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) (const byte *palette);
|
||
|
void (*update) (struct vrect_s *rects);
|
||
|
} sw_ctx_t;
|
||
|
|
||
|
extern sw_ctx_t *sw_ctx;
|
||
|
extern sw_ctx_t *sw32_ctx;
|
||
|
|
||
|
#endif//__vid_sw_h
|