output: add damage event

This commit is contained in:
emersion 2018-01-19 13:13:46 +01:00
parent 7f9f918b78
commit a0f24b809e
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 6 additions and 3 deletions

View file

@ -107,9 +107,6 @@ static void init_globals() {
static void wlr_gles2_begin(struct wlr_renderer *_renderer,
struct wlr_output *output) {
// TODO: let users customize the clear color?
//GL_CALL(glClearColor(0.25f, 0.25f, 0.25f, 1));
//GL_CALL(glClear(GL_COLOR_BUFFER_BIT));
GL_CALL(glViewport(0, 0, output->width, output->height));
// enable transparency