remove annoying error message when state saving

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1554 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-12-16 00:44:50 +00:00
parent b3fc3b16da
commit 7b4f6ba255

View File

@ -240,8 +240,10 @@ void Video_DoState(unsigned char **ptr, int mode) {
//#elif defined(HAVE_X11) && HAVE_X11
// glXMakeCurrent(GLWin.dpy, GLWin.win, GLWin.ctx);
//#endif
OpenGL_MakeCurrent();
#ifndef _WIN32
// WHY is this here??
OpenGL_MakeCurrent();
#endif
// Clear all caches that touch RAM
TextureMngr::Invalidate();
// DisplayListManager::Invalidate();