1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 12:32:36 +00:00

Remove unused RipplesSurface::State::mOffset

This commit is contained in:
elsid 2024-02-18 22:28:33 +01:00
parent e88e92d3aa
commit dc5371d157
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625
2 changed files with 0 additions and 2 deletions

View File

@ -136,7 +136,6 @@ namespace MWRender
osg::Vec2f offset = mCurrentPlayerPos - mLastPlayerPos;
mLastPlayerPos = mCurrentPlayerPos;
mState[frameId].mPaused = mPaused;
mState[frameId].mOffset = offset;
mState[frameId].mStateset->getUniform("positionCount")->set(static_cast<int>(mPositionCount));
mState[frameId].mStateset->getUniform("offset")->set(offset);

View File

@ -54,7 +54,6 @@ namespace MWRender
struct State
{
osg::Vec2f mOffset;
osg::ref_ptr<osg::StateSet> mStateset;
bool mPaused = true;
};