diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2011-03-21 05:46:33 +0000 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2011-03-21 05:46:33 +0000 |
| commit | 068855bbd641efd0d941c2005fb4f33459e32b03 (patch) | |
| tree | eae52d160f4001a2bdf68a7d3cf70d6e9ec5fd91 /Source/Core/VideoCommon/Src/VertexLoader.cpp | |
| parent | 8eaed1c105d2ecd3c63cc728eee8bc1a493a27db (diff) | |
Moved per-game graphics configuration to the game-list right click menu. It will be too difficult to make the "profiles" drop-down thing work with 3-state vs 2-state checkboxes. The per-game settings now have "undetermined" states, except for the radio buttons(I'll fix that later). It's super hacky right now. Video config (probably all config stuff) could be redone.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7386 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexLoader.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp index 969c3bb2ff..ce9e81219d 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp @@ -296,9 +296,14 @@ void VertexLoader::CompileVertexTranslator() // Normals vtx_decl.num_normals = 0; - if (m_VtxDesc.Normal != NOT_PRESENT) { - m_VertexSize += VertexLoader_Normal::GetSize(m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3); - TPipelineFunction pFunc = VertexLoader_Normal::GetFunction(m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3, g_Config.backend_info.bAllowSignedBytes); + if (m_VtxDesc.Normal != NOT_PRESENT) + { + m_VertexSize += VertexLoader_Normal::GetSize(m_VtxDesc.Normal, + m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3); + + TPipelineFunction pFunc = VertexLoader_Normal::GetFunction(m_VtxDesc.Normal, + m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3); + if (pFunc == 0) { char temp[256]; |
