summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@googlemail.com>2010-11-29 16:16:48 +0000
committerNeoBrainX <NeoBrainX@googlemail.com>2010-11-29 16:16:48 +0000
commit8d123adf6403510a7ab7e63f62e85117ef6b4eea (patch)
treec2ff6ec6ba59db9c3fcd7ff69548c7a3cf30f171 /Source/Core/VideoCommon
parent40c4e5f9a7813cd39802b4a730941f9aec4cae57 (diff)
DX9 debugger improvements:
- Fix "Pause at next" functionality for pixel/vertex shader changes, finished frames and texture changes. - Implement dumping vertex declaration and vertex/index data. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6496 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/VertexManagerBase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.h b/Source/Core/VideoCommon/Src/VertexManagerBase.h
index 159e9ee52f..258d7e0c67 100644
--- a/Source/Core/VideoCommon/Src/VertexManagerBase.h
+++ b/Source/Core/VideoCommon/Src/VertexManagerBase.h
@@ -39,6 +39,11 @@ public:
virtual ::NativeVertexFormat* CreateNativeVertexFormat() = 0;
+ static u16* GetTriangleIndexBuffer() { return TIBuffer; }
+ static u16* GetLineIndexBuffer() { return LIBuffer; }
+ static u16* GetPointIndexBuffer() { return PIBuffer; }
+ static u8* GetVertexBuffer() { return LocalVBuffer; }
+
protected:
// TODO: make private after Flush() is merged
static void ResetBuffer();