Start ifdef'ing out RGSS2 functionality
This commit is contained in:
parent
751b9c3ae5
commit
d8dab9c429
6 changed files with 56 additions and 35 deletions
24
src/shader.h
24
src/shader.h
|
@ -118,17 +118,6 @@ private:
|
|||
GLint u_spriteMat;
|
||||
};
|
||||
|
||||
class SimpleMatrixShader : public ShaderBase
|
||||
{
|
||||
public:
|
||||
SimpleMatrixShader();
|
||||
|
||||
void setMatrix(const float value[16]);
|
||||
|
||||
private:
|
||||
GLint u_matrix;
|
||||
};
|
||||
|
||||
class TransShader : public ShaderBase
|
||||
{
|
||||
public:
|
||||
|
@ -210,6 +199,18 @@ private:
|
|||
GLint u_hueAdjust, u_inputTexture;
|
||||
};
|
||||
|
||||
#ifdef RGSS2
|
||||
class SimpleMatrixShader : public ShaderBase
|
||||
{
|
||||
public:
|
||||
SimpleMatrixShader();
|
||||
|
||||
void setMatrix(const float value[16]);
|
||||
|
||||
private:
|
||||
GLint u_matrix;
|
||||
};
|
||||
|
||||
/* Gaussian blur */
|
||||
struct BlurShader
|
||||
{
|
||||
|
@ -228,6 +229,7 @@ struct BlurShader
|
|||
HPass pass1;
|
||||
VPass pass2;
|
||||
};
|
||||
#endif
|
||||
|
||||
/* Bitmap blit */
|
||||
class BltShader : public ShaderBase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue