Skip to content
This repository
Browse code

FIX: non-rpi egl fails to compile

  • Loading branch information...
commit ba2ca550984673b72ddd3b015974bce25441f337 1 parent 1d310b3
Chris Browet authored January 22, 2013 S. Davilla committed January 22, 2013
2  xbmc/windowing/egl/EGLNativeTypeRaspberryPI.cpp
@@ -362,6 +362,7 @@ bool CEGLNativeTypeRaspberryPI::SetNativeResolution(const RESOLUTION_INFO &res)
362 362
 #endif
363 363
 }
364 364
 
  365
+#if defined(TARGET_RASPBERRY_PI)
365 366
 static float get_display_aspect_ratio(HDMI_ASPECT_T aspect)
366 367
 {
367 368
   float display_aspect;
@@ -389,6 +390,7 @@ static float get_display_aspect_ratio(SDTV_ASPECT_T aspect)
389 390
   }
390 391
   return display_aspect;
391 392
 }
  393
+#endif
392 394
 
393 395
 bool CEGLNativeTypeRaspberryPI::ProbeResolutions(std::vector<RESOLUTION_INFO> &resolutions)
394 396
 {

0 notes on commit ba2ca55

Please sign in to comment.
Something went wrong with that request. Please try again.