OpenGL: Added the black border function to 16:9 to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2419 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
354f1e5f44
commit
e59869e63c
|
@ -130,6 +130,7 @@ public:
|
|||
&currWinRes.x, &currWinRes.y);
|
||||
|
||||
SetProperty(OGL_FULLSCREEN, g_Config.bFullscreen);
|
||||
// What does this do?
|
||||
SetProperty(OGL_KEEPRATIO, g_Config.bKeepAR43);
|
||||
SetProperty(OGL_HIDECURSOR, g_Config.bHideCursor);
|
||||
|
||||
|
|
|
@ -987,15 +987,15 @@ void Renderer::Swap(const TRectangle& rc)
|
|||
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
/* Blacken out the borders in the 4:3 or the coming 16:9 aspect ratio modes. Somewhere in BPStructs
|
||||
/* Blacken out the borders in the 4:3 or 16:9 aspect ratio modes. Somewhere in BPStructs
|
||||
0x52 or elsewhere the area outside the actual picture, that we now show with the aspect ratio option
|
||||
has been filled with either for example white, or have copies of old renderings on it. So we replace
|
||||
that with blacknes. */
|
||||
// --------------------
|
||||
if(g_Config.bKeepAR43)
|
||||
if(g_Config.bKeepAR43 || g_Config.bKeepAR169)
|
||||
{
|
||||
// Set current drawing color to red
|
||||
glColor3f(0.0, 0.0, 0.0); // Black
|
||||
// Set current drawing color to black
|
||||
glColor3f(0.0, 0.0, 0.0);
|
||||
|
||||
/* This doesn't work
|
||||
glRecti, glRectf(
|
||||
|
|
Loading…
Reference in New Issue