summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-03-08 19:36:00 +0000
committerhrydgard <hrydgard@gmail.com>2009-03-08 19:36:00 +0000
commitbdb41dfe2f3ffb2eb35214348fb4e1b0e19da14e (patch)
tree432ee7ecaf17c20402e51fe8fa82fe105a8d4ca5 /Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp
parentc6ffcec99146dec8f78265ef5b2a506793f974e7 (diff)
fix an error message in d3d plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2618 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp b/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp
index e79f308f0d..51fd7a4d19 100644
--- a/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp
+++ b/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp
@@ -69,7 +69,6 @@ D3DDECLTYPE VarToD3D(VarType t)
// TODO: Ban signed bytes as normals - not likely that ATI supports them natively.
// We probably won't see much of a speed loss, and any speed loss will be regained anyway
// when we finally compile display lists.
-
void D3DVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
{
vertex_stride = _vtx_decl.stride;
@@ -125,7 +124,7 @@ void D3DVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
if (_vtx_decl.posmtx_offset != -1)
{
- PanicAlert("boo %i", _vtx_decl.posmtx_offset);
+ PanicAlert("Posmtx stream not supported correctly. %i", _vtx_decl.posmtx_offset);
// glVertexAttribPointer(SHADER_POSMTX_ATTRIB, 4, GL_UNSIGNED_BYTE, GL_FALSE, vtx_decl.stride, (void *)vtx_decl.posmtx_offset);
elems[elem_idx].Offset = _vtx_decl.posmtx_offset;
elems[elem_idx].Usage = D3DDECLUSAGE_BLENDINDICES;