STDMETHODIMP CDX7SubPicAllocator::SetMaxTextureSize(SIZE MaxTextureSize) { m_maxsize = MaxTextureSize; SetCurSize(MaxTextureSize); SetCurVidRect(CRect(CPoint(0,0), MaxTextureSize)); return S_OK; }
STDMETHODIMP CDX7SubPicAllocator::SetMaxTextureSize(SIZE maxTextureSize) { CAutoLock cAutoLock(this); if (m_maxsize != maxTextureSize) { m_maxsize = maxTextureSize; } return SetCurSize(m_maxsize); }
STDMETHODIMP CDX7SubPicAllocator::SetMaxTextureSize(SIZE MaxTextureSize) { m_maxsize = MaxTextureSize; SetCurSize(MaxTextureSize); return S_OK; }