Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2014-07-20 02:13:30 +0400
committerUnderground78 <underground78@users.sourceforge.net>2014-08-03 10:30:21 +0400
commit5458cfca03657017dccc8aded2b70ef50809b796 (patch)
treeea46b9191f74be9e9ffeb655be5aac61bbbaf099 /src/SubPic/SubPicQueueSettings.h
parent3d7ad2d5611ebcba1e6e586d503f98a3ccd9fee7 (diff)
ISR: Remove "Round up to power of two" option.
This option was meant for old GPU and it was silently disabled as soon as either the width or the height of the texture was higher than 1024.
Diffstat (limited to 'src/SubPic/SubPicQueueSettings.h')
-rw-r--r--src/SubPic/SubPicQueueSettings.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/SubPic/SubPicQueueSettings.h b/src/SubPic/SubPicQueueSettings.h
index 2dd61672a..ddaef5f29 100644
--- a/src/SubPic/SubPicQueueSettings.h
+++ b/src/SubPic/SubPicQueueSettings.h
@@ -25,18 +25,16 @@
struct SubPicQueueSettings {
int nSize;
int nMaxRes;
- bool bPow2Tex;
bool bDisableSubtitleAnimation;
int nRenderAtWhenAnimationIsDisabled;
int nAnimationRate;
bool bAllowDroppingSubpic;
- SubPicQueueSettings(int nSize, int nMaxRes, bool bPow2Tex,
+ SubPicQueueSettings(int nSize, int nMaxRes,
bool bDisableSubtitleAnimation, int nRenderAtWhenAnimationIsDisabled, int nAnimationRate,
bool bAllowDroppingSubpic)
: nSize(nSize)
, nMaxRes(nMaxRes)
- , bPow2Tex(bPow2Tex)
, bDisableSubtitleAnimation(bDisableSubtitleAnimation)
, nRenderAtWhenAnimationIsDisabled(nRenderAtWhenAnimationIsDisabled)
, nAnimationRate(nAnimationRate)
@@ -44,6 +42,6 @@ struct SubPicQueueSettings {
{};
SubPicQueueSettings()
- : SubPicQueueSettings(10, 0, true, false, 50, 100, true)
+ : SubPicQueueSettings(10, 0, false, 50, 100, true)
{};
};