X-Git-Url: https://git.ti.com/gitweb?p=android%2Fexternal-libkmsxx.git;a=blobdiff_plain;f=libkmstest%2Fcolorbar.cpp;h=c1b6c16588d2656100eec0f0db69d9b7b0da1e6c;hp=31a4510fc3fa63401393d00139bf2bcdb4682c53;hb=6f11b260ec7da40cf6301a830d56bc4030097e7e;hpb=8a991ee6b675d18739557e004ce993fa090ef0b5 diff --git a/libkmstest/colorbar.cpp b/libkmstest/colorbar.cpp index 31a4510..c1b6c16 100644 --- a/libkmstest/colorbar.cpp +++ b/libkmstest/colorbar.cpp @@ -49,7 +49,7 @@ static void drm_draw_color_bar_rgb888(DumbFramebuffer& buf, int old_xpos, int xp } for (int x = xpos; x < xpos + width; ++x) - line[x] = bcol.raw; + line[x] = bcol.rgb888(); } }