File: simple-background.cpp

package info (click to toggle)
wayfire 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,764 kB
  • sloc: cpp: 52,464; xml: 2,987; ansic: 699; makefile: 161
file content (11 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#include <wayfire/core.hpp>
#include "simple-background.hpp"

wf_cube_simple_background::wf_cube_simple_background()
{}

void wf_cube_simple_background::render_frame(const wf::render_target_t& fb,
    wf_cube_animation_attribs&)
{
    OpenGL::clear(background_color, GL_COLOR_BUFFER_BIT);
}