Fixed RenderTexture::clear() not always working on certain hardware

This commit is contained in:
Matthew Szekely 2015-07-14 11:38:39 -04:00 committed by Lukas Dürrenberger
parent b8e4b087cd
commit f6020c5f8e
4 changed files with 13 additions and 0 deletions

View file

@ -509,6 +509,7 @@ private:
bool m_isSmooth; ///< Status of the smooth filter
bool m_isRepeated; ///< Is the texture in repeat mode?
mutable bool m_pixelsFlipped; ///< To work around the inconsistency in Y orientation
bool m_fboAttachment; ///< Is this texture owned by a framebuffer object?
Uint64 m_cacheId; ///< Unique number that identifies the texture to the render target's cache
};