render/gles2: remove global state, use OpenGL debug extension

This commit is contained in:
emersion 2018-03-20 19:14:33 +01:00
parent ff2e08aa74
commit 95e86e675a
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
10 changed files with 526 additions and 372 deletions

View file

@ -5,7 +5,7 @@
#include <wlr/types/wlr_matrix.h>
void wlr_renderer_init(struct wlr_renderer *renderer,
struct wlr_renderer_impl *impl) {
const struct wlr_renderer_impl *impl) {
renderer->impl = impl;
}