aboutsummaryrefslogtreecommitdiff
path: root/xbmc/rendering/dx/GUIWindowTestPatternDX.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/rendering/dx/GUIWindowTestPatternDX.h')
-rw-r--r--xbmc/rendering/dx/GUIWindowTestPatternDX.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/xbmc/rendering/dx/GUIWindowTestPatternDX.h b/xbmc/rendering/dx/GUIWindowTestPatternDX.h
index a176f81177..40035f13e8 100644
--- a/xbmc/rendering/dx/GUIWindowTestPatternDX.h
+++ b/xbmc/rendering/dx/GUIWindowTestPatternDX.h
@@ -39,5 +39,14 @@ private:
virtual void DrawCircle(int originX, int originY, int radius);
virtual void BeginRender();
virtual void EndRender();
+
+ struct CUSTOMVERTEX
+ {
+ FLOAT x, y, z, rhw; // The transformed position for the vertex
+ DWORD color; // The vertex color
+ };
+
+ void DrawRectangle(float x, float y, float x2, float y2, DWORD color);
+ void DrawCircleEx(float originX, float originY, float radius, DWORD color);
};