Forked from
tome / Tales of MajEyal
8283 commits behind the upstream repository.
-
dg authored
git-svn-id: http://svn.net-core.org/repos/t-engine4@2461 51575b47-30f0-44d4-a5cc-537603b46e54
dg authoredgit-svn-id: http://svn.net-core.org/repos/t-engine4@2461 51575b47-30f0-44d4-a5cc-537603b46e54
useshader.h 301 B
#ifndef __USESHADER_H__
#define __USESHADER_H__
typedef struct {
GLuint shader;
GLint p_tick, p_color, p_mapcoord, p_texsize;
int params_ref;
} shader_type;
extern bool shaders_active;
extern void useShader(shader_type *p, int x, int y, int w, int h, float r, float g, float b, float a);
#endif