mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: add damage event
This commit is contained in:
parent
7f9f918b78
commit
a0f24b809e
3 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue