omapfb: add enum Flags for OmapFB
[android/external-libkmsxx.git] / py / tests / rottest.py
index d81a962a61ffb95028913ccaaad5e72f0bb003cc..8988134122e45569c4a73efedaa8ced73c44f2a3 100755 (executable)
@@ -96,7 +96,7 @@ fb_h = 150
 x_scale = 1
 y_scale = 1
 
 x_scale = 1
 y_scale = 1
 
-fb = pykms.OmapFramebuffer(card, fb_w, fb_h, "NV12", tiled = True);
+fb = pykms.OmapFramebuffer(card, fb_w, fb_h, "NV12", flags = pykms.OmapFramebuffer.Tiled);
 #fb = pykms.DumbFramebuffer(card, fb_w, fb_h, "NV12")
 pykms.draw_test_pattern(fb);
 
 #fb = pykms.DumbFramebuffer(card, fb_w, fb_h, "NV12")
 pykms.draw_test_pattern(fb);