summaryrefslogtreecommitdiff
path: root/rs_hal.h
diff options
context:
space:
mode:
Diffstat (limited to 'rs_hal.h')
-rw-r--r--rs_hal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/rs_hal.h b/rs_hal.h
index 7c9618a4..800053a7 100644
--- a/rs_hal.h
+++ b/rs_hal.h
@@ -172,14 +172,18 @@ typedef struct {
struct {
bool (*init)(const Context *rsc, const ProgramVertex *pv,
- const char* shader, size_t shaderLen);
+ const char* shader, size_t shaderLen,
+ const char** textureNames, size_t textureNamesCount,
+ const size_t *textureNamesLength);
void (*setActive)(const Context *rsc, const ProgramVertex *pv);
void (*destroy)(const Context *rsc, const ProgramVertex *pv);
} vertex;
struct {
bool (*init)(const Context *rsc, const ProgramFragment *pf,
- const char* shader, size_t shaderLen);
+ const char* shader, size_t shaderLen,
+ const char** textureNames, size_t textureNamesCount,
+ const size_t *textureNamesLength);
void (*setActive)(const Context *rsc, const ProgramFragment *pf);
void (*destroy)(const Context *rsc, const ProgramFragment *pf);
} fragment;