mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Mostly fix for OGL plugin, putting it's shaders in the right place, few other bugs here and there though. Fix for CPU detect and removed a quick hack to reduce underflows in the HLE plugin. Added AA for Linux, but may be only usable by ATI/Intel cards or Opensource drivers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@231 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -18,7 +18,9 @@
|
||||
#include "Globals.h"
|
||||
#include <list>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <mmsystem.h>
|
||||
#endif
|
||||
|
||||
#include "GLInit.h"
|
||||
#include "Render.h"
|
||||
@ -450,16 +452,13 @@ void Renderer::ReinitView(int nNewWidth, int nNewHeight)
|
||||
nBackbufferWidth = nNewWidth > 16 ? nNewWidth : 16;
|
||||
nBackbufferHeight = nNewHeight > 16 ? nNewHeight : 16;
|
||||
}
|
||||
//TODO: Return correct Values
|
||||
int Renderer::GetTargetWidth()
|
||||
{
|
||||
//return 640;
|
||||
return nBackbufferWidth;
|
||||
}
|
||||
|
||||
int Renderer::GetTargetHeight()
|
||||
{
|
||||
//return 480;
|
||||
return nBackbufferHeight;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user