Skip glTexCoordPointer() call if not needed
This commit is contained in:
parent
858c9ce924
commit
973ac8ddcd
2 changed files with 16 additions and 1 deletions
|
@ -414,6 +414,7 @@ private:
|
|||
bool viewChanged; ///< Has the current view changed since last draw?
|
||||
BlendMode lastBlendMode; ///< Cached blending mode
|
||||
Uint64 lastTextureId; ///< Cached texture
|
||||
bool texCoordsArrayEnabled; ///< Is GL_TEXTURE_COORD_ARRAY client state enabled?
|
||||
bool useVertexCache; ///< Did we previously use the vertex cache?
|
||||
Vertex vertexCache[VertexCacheSize]; ///< Pre-transformed vertices cache
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue