update graphics subsystem code to add mipmap support and also add initial GL texture stuff and helper functions
This commit is contained in:
@@ -513,13 +513,14 @@ EXPORT uint32_t gs_getwidth(void);
|
||||
EXPORT uint32_t gs_getheight(void);
|
||||
|
||||
EXPORT texture_t gs_create_texture(uint32_t width, uint32_t height,
|
||||
enum gs_color_format color_format, void *data, uint32_t flags);
|
||||
enum gs_color_format color_format, uint32_t levels, void **data,
|
||||
uint32_t flags);
|
||||
EXPORT texture_t gs_create_cubetexture(uint32_t size,
|
||||
enum gs_color_format color_format, void *data[6],
|
||||
uint32_t flags);
|
||||
enum gs_color_format color_format, uint32_t levels,
|
||||
void **data, uint32_t flags);
|
||||
EXPORT texture_t gs_create_volumetexture(uint32_t width, uint32_t height,
|
||||
uint32_t depth, enum gs_color_format color_format, void *data,
|
||||
uint32_t flags);
|
||||
uint32_t depth, enum gs_color_format color_format,
|
||||
uint32_t levels, void **data, uint32_t flags);
|
||||
|
||||
EXPORT zstencil_t gs_create_zstencil(uint32_t width, uint32_t height,
|
||||
enum gs_zstencil_format format);
|
||||
|
Reference in New Issue
Block a user