mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Misc warning fixes.
One of the fixes in Source/Plugins/Plugin_VideoOGL/Src/Render.cpp (for an uninitialized variable) looks like it could actually have real-world effects; someone familiar with the code should check that the fix is correct. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3669 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -131,12 +131,12 @@ void GFXConfigDialogOGL::CloseClick(wxCommandEvent& WXUNUSED (event))
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Add avaliable resolutions and other settings
|
||||
// ---------------
|
||||
void GFXConfigDialogOGL::AddFSReso(char *reso)
|
||||
void GFXConfigDialogOGL::AddFSReso(const char *reso)
|
||||
{
|
||||
arrayStringFor_FullscreenCB.Add(wxString::FromAscii(reso));
|
||||
}
|
||||
|
||||
void GFXConfigDialogOGL::AddWindowReso(char *reso)
|
||||
void GFXConfigDialogOGL::AddWindowReso(const char *reso)
|
||||
{
|
||||
arrayStringFor_WindowResolutionCB.Add(wxString::FromAscii(reso));
|
||||
}
|
||||
|
Reference in New Issue
Block a user