Cleaned up some graphics code.

This commit is contained in:
Alex Szpakowski
2015-03-20 00:16:36 -03:00
parent 7741adc7b4
commit d31168c0e0
6 changed files with 51 additions and 136 deletions
-20
View File
@@ -99,13 +99,6 @@ public:
}
};
struct BlendState
{
GLenum srcRGB, srcA;
GLenum dstRGB, dstA;
GLenum func;
};
struct
{
std::vector<Matrix> transform;
@@ -235,17 +228,6 @@ public:
**/
Viewport getScissor() const;
/**
* Sets blending functionality.
* Note: This does not globally enable or disable blending.
**/
void setBlendState(const BlendState &blend);
/**
* Gets the currently set blending functionality.
**/
BlendState getBlendState() const;
/**
* Sets the global point size.
**/
@@ -380,8 +362,6 @@ private:
GLuint defaultTexture;
BlendState blend;
Matrix lastProjectionMatrix;
Matrix lastTransformMatrix;