summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-05-09 16:58:30 +0100
committerWill Thompson <will@willthompson.co.uk>2012-05-09 16:59:07 +0100
commitf2192a37caf571bfc77b953fce231a3fe536965b (patch)
treecf454aa2eb77e6e670d16ded499c9478bfc7b108
parent7d45a73e5b769b17a0336f58145bf6574c66eca7 (diff)
exa: document some arguments better.
-rw-r--r--src/videocore-exa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/videocore-exa.c b/src/videocore-exa.c
index 965c499..1249ca4 100644
--- a/src/videocore-exa.c
+++ b/src/videocore-exa.c
@@ -180,13 +180,15 @@ InitEGL(ScreenPtr pScreen, VideoCoreExaPtr vcExa)
src_rect.height = screen_height << 16;
dispman_display = vc_dispmanx_display_open(DISPMANX_ID_MAIN_LCD);
- dispman_update = vc_dispmanx_update_start( 0 );
+ dispman_update = vc_dispmanx_update_start( 0 /* priority */ );
vcExa->nativeWindow.element =
vc_dispmanx_element_add(dispman_update, dispman_display,
0/*layer*/, &dst_rect, 0/*src*/,
&src_rect, DISPMANX_PROTECTION_NONE,
- 0 /*alpha*/, 0/*clamp*/, 0/*transform*/);
+ 0 /*alpha*/,
+ DISPMANX_FLAGS_CLAMP_NONE,
+ DISPMANX_NO_ROTATE);
vcExa->nativeWindow.width = screen_width;
vcExa->nativeWindow.height = screen_height;