Skip to content

Commit 52426e1

Browse files
committed
Shaders: Use separate GLES shader manifest
1 parent 6fdc5a1 commit 52426e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

xbmc/games/dialogs/osd/DialogGameVideoFilter.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,12 @@ void CDialogGameVideoFilter::InitVideoFilters()
125125

126126
//! @todo Have the add-on give us the xml as a string (or parse it)
127127
std::string xmlFilename;
128-
#ifdef TARGET_WINDOWS
129-
xmlFilename = "ShaderPresetsHLSLP.xml";
130-
#else
128+
#ifdef HAS_GLES
129+
xmlFilename = "ShaderPresetsGLSLP_GLES.xml";
130+
#elif HAS_GL
131131
xmlFilename = "ShaderPresetsGLSLP.xml";
132+
#else
133+
xmlFilename = "ShaderPresetsHLSLP.xml";
132134
#endif
133135

134136
const std::string homeAddonPath = CSpecialProtocol::TranslatePath(

0 commit comments

Comments
 (0)