mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
GL: Safer vertex loading (should fix the new zelda crash), added vertex format logging to "show some statistics"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1295 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f1ab625f5c
commit
30a5c91c99
7 changed files with 85 additions and 37 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "rasterfont.h"
|
||||
#include "VertexShader.h"
|
||||
#include "PixelShaderManager.h"
|
||||
#include "VertexLoaderManager.h"
|
||||
#include "VertexLoader.h"
|
||||
#include "XFB.h"
|
||||
#if !defined(OSX64)
|
||||
|
@ -791,7 +792,11 @@ void Renderer::SwapBuffers()
|
|||
p+=sprintf(p,"Num BP loads (DL): %i\n",stats.thisFrame.numBPLoadsInDL);
|
||||
p+=sprintf(p,"Num vertex loaders: %i\n",stats.numVertexLoaders);
|
||||
|
||||
Renderer::RenderText(st, 20, 20, 0xFF00FFFF);
|
||||
|
||||
std::string text = st;
|
||||
VertexLoaderManager::AppendListToString(&text);
|
||||
|
||||
Renderer::RenderText(text.c_str(), 20, 20, 0xFF00FFFF);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue