diff options
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/glwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp index 1b30e585..b5d4c0b7 100644 --- a/pose-widget/glwidget.cpp +++ b/pose-widget/glwidget.cpp @@ -125,8 +125,7 @@ void GLWidget::project_quad_texture() { QImage& tex = dir < 0 ? back : front; QImage texture(QSize(sx, sy), QImage::Format_RGBA8888); - QColor bgColor = palette().color(QPalette::Current, QPalette::Window); - texture.fill(bgColor); + texture.fill(QColor(0xcc, 0xcc, 0xcc, 0xff)); const vec2 projected[2][3] = { { pt[0], pt[1], pt[2] }, { pt[3], pt[1], pt[2] } }; const vec2 origs[2][3] = { |