mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user