Start ifdef'ing out RGSS2 functionality

This commit is contained in:
Jonas Kulla 2013-10-02 22:40:09 +02:00
parent 751b9c3ae5
commit d8dab9c429
6 changed files with 56 additions and 35 deletions

View file

@ -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