mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Move GLInterface around to remove VideoBackends dependency on DolphinWX
This commit is contained in:
parent
7e83a0ea9b
commit
226a9c2392
30 changed files with 71 additions and 45 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "Core/Movie.h"
|
||||
|
||||
#include "VideoBackends/OGL/FramebufferManager.h"
|
||||
#include "VideoBackends/OGL/GLInterfaceBase.h"
|
||||
#include "VideoBackends/OGL/GLUtil.h"
|
||||
#include "VideoBackends/OGL/main.h"
|
||||
#include "VideoBackends/OGL/PostProcessing.h"
|
||||
|
@ -1459,7 +1460,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangl
|
|||
if (!bLastFrameDumped)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
bAVIDumping = AVIDump::Start((HWND)((cInterfaceWGL*)GLInterface)->m_window_handle, w, h);
|
||||
bAVIDumping = AVIDump::Start(nullptr, w, h);
|
||||
#else
|
||||
bAVIDumping = AVIDump::Start(w, h);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue