Skip to content

Commit

Permalink
windowing/wayland: register using CRPRendererDMA
Browse files Browse the repository at this point in the history
  • Loading branch information
lrusak committed Mar 25, 2020
1 parent 1182620 commit c209d84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/windowing/wayland/WinSystemWaylandEGLContextGL.cpp
Expand Up @@ -10,6 +10,7 @@

#include "OptionalsReg.h"
#include "cores/RetroPlayer/process/RPProcessInfo.h"
#include "cores/RetroPlayer/rendering/VideoRenderers/RPRendererDMA.h"
#include "cores/RetroPlayer/rendering/VideoRenderers/RPRendererOpenGL.h"
#include "cores/VideoPlayer/VideoRenderers/LinuxRendererGL.h"
#include "rendering/gl/ScreenshotSurfaceGL.h"
Expand Down Expand Up @@ -37,6 +38,7 @@ bool CWinSystemWaylandEGLContextGL::InitWindowSystem()
}

CLinuxRendererGL::Register();
RETRO::CRPProcessInfo::RegisterRendererFactory(new RETRO::CRendererFactoryDMA);
RETRO::CRPProcessInfo::RegisterRendererFactory(new RETRO::CRendererFactoryOpenGL);

bool general, deepColor;
Expand Down
3 changes: 3 additions & 0 deletions xbmc/windowing/wayland/WinSystemWaylandEGLContextGLES.cpp
Expand Up @@ -10,6 +10,7 @@

#include "OptionalsReg.h"
#include "cores/RetroPlayer/process/RPProcessInfo.h"
#include "cores/RetroPlayer/rendering/VideoRenderers/RPRendererDMA.h"
#include "cores/RetroPlayer/rendering/VideoRenderers/RPRendererOpenGLES.h"
#include "cores/VideoPlayer/VideoRenderers/LinuxRendererGLES.h"
#include "cores/VideoPlayer/VideoRenderers/RenderFactory.h"
Expand Down Expand Up @@ -37,6 +38,8 @@ bool CWinSystemWaylandEGLContextGLES::InitWindowSystem()
}

CLinuxRendererGLES::Register();

RETRO::CRPProcessInfo::RegisterRendererFactory(new RETRO::CRendererFactoryDMA);
RETRO::CRPProcessInfo::RegisterRendererFactory(new RETRO::CRendererFactoryOpenGLES);

bool general, deepColor;
Expand Down

0 comments on commit c209d84

Please sign in to comment.