From 81192236ac44ea500ea6ec6f8de32be11e9165ca Mon Sep 17 00:00:00 2001 From: Monroe Linden Date: Thu, 5 Nov 2009 16:08:04 -0800 Subject: Fix for DEV-39258. When the amount of the texture that's being drawn by the plugin shrinks in either width or height, reallocate the texture (which clears it). --- indra/newview/llviewermedia.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llviewermedia.h') diff --git a/indra/newview/llviewermedia.h b/indra/newview/llviewermedia.h index d6dde0c93e..4cb0817735 100644 --- a/indra/newview/llviewermedia.h +++ b/indra/newview/llviewermedia.h @@ -306,6 +306,8 @@ public: bool mMediaAutoScale; bool mMediaLoop; bool mNeedsNewTexture; + S32 mTextureUsedWidth; + S32 mTextureUsedHeight; bool mSuspendUpdates; bool mVisible; ECursorType mLastSetCursor; -- cgit v1.2.3