Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIX: non-rpi egl fails to compile

  • Loading branch information...
commit ba2ca550984673b72ddd3b015974bce25441f337 1 parent 1d310b3
@koying koying authored davilla committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp
View
2  xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp
@@ -362,6 +362,7 @@ bool CEGLNativeTypeRaspberryPI::SetNativeResolution(const RESOLUTION_INFO &res)
#endif
}
+#if defined(TARGET_RASPBERRY_PI)
static float get_display_aspect_ratio(HDMI_ASPECT_T aspect)
{
float display_aspect;
@@ -389,6 +390,7 @@ static float get_display_aspect_ratio(SDTV_ASPECT_T aspect)
}
return display_aspect;
}
+#endif
bool CEGLNativeTypeRaspberryPI::ProbeResolutions(std::vector<RESOLUTION_INFO> &resolutions)
{
Please sign in to comment.
Something went wrong with that request. Please try again.