mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
VideoOGL: reinitialize some more global variables,
so VideoOGL always is in the same state when starting a guest program. Also constify the RasterFont, while we are at it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7166 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -192,6 +192,17 @@ void HandleCgError(CGcontext ctx, CGerror err, void* appdata)
|
||||
// Init functions
|
||||
Renderer::Renderer()
|
||||
{
|
||||
OSDInternalW = 0;
|
||||
OSDInternalH = 0;
|
||||
|
||||
s_fps=0;
|
||||
|
||||
#if defined _WIN32 || defined HAVE_LIBAV
|
||||
s_bAVIDumping = false;
|
||||
#else
|
||||
f_pFrameDump = NULL;
|
||||
#endif
|
||||
|
||||
bool bSuccess = true;
|
||||
s_blendMode = 0;
|
||||
s_MSAACoverageSamples = 0;
|
||||
|
Reference in New Issue
Block a user