aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorelupus <elupus@svn>2010-12-19 16:28:08 +0000
committerelupus <elupus@svn>2010-12-19 16:28:08 +0000
commit8dcd0f59ad8773cfef17f7c350b43fb7d3ea7c43 (patch)
treefcea4367b5cccfe38cb685da3093e4ad3acbf8d3 /guilib
parent25ab8b2c94cee85b4363d29136d6d45da8564fb5 (diff)
cosmetic: drop unused functions from CGraphicContext
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35655 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GraphicContext.cpp4
-rw-r--r--guilib/GraphicContext.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/guilib/GraphicContext.cpp b/guilib/GraphicContext.cpp
index a53c14194b..2868fe5289 100644
--- a/guilib/GraphicContext.cpp
+++ b/guilib/GraphicContext.cpp
@@ -757,10 +757,6 @@ void CGraphicContext::RestoreHardwareTransform()
g_Windowing.RestoreHardwareTransform();
}
-void CGraphicContext::ClipToViewWindow()
-{
-}
-
void CGraphicContext::GetAllowedResolutions(vector<RESOLUTION> &res)
{
res.clear();
diff --git a/guilib/GraphicContext.h b/guilib/GraphicContext.h
index 24ba117b09..3a1ac98ba1 100644
--- a/guilib/GraphicContext.h
+++ b/guilib/GraphicContext.h
@@ -76,7 +76,6 @@ public:
float GetFPS() const;
const CStdString& GetMediaDir() const { return m_strMediaDir; }
void SetMediaDir(const CStdString& strMediaDir);
- bool IsWidescreen() const { return m_bWidescreen; }
bool SetViewPort(float fx, float fy , float fwidth, float fheight, bool intersectPrevious = false);
void RestoreViewPort();
const CRect GetViewWindow() const;
@@ -161,7 +160,6 @@ public:
void ApplyHardwareTransform();
void RestoreHardwareTransform();
void ClipRect(CRect &vertex, CRect &texture, CRect *diffuse = NULL);
- void ClipToViewWindow();
inline void ResetWindowTransform()
{
while (m_groupTransform.size())
@@ -194,8 +192,6 @@ protected:
int m_iScreenHeight;
int m_iScreenWidth;
int m_iScreenId;
- int m_iBackBufferCount;
- bool m_bWidescreen;
CStdString m_strMediaDir;
CRect m_videoRect;
bool m_bFullScreenRoot;