aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-07-28 13:58:07 +0200
committerDrew DeVault <sir@cmpwn.com>2020-07-28 06:59:07 -0600
commit62da61716f28754a2d3b7151348e1ea40bc6cf66 (patch)
tree9f36134e641c4d4d5a8caebe6688bf11b5bf26ae /include/render
parente8872d9ed7fce59fde56c3fe33796562ac56a66c (diff)
render/gles2: make push/pop debug functions take a wlr_renderer
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index e9c49af9..a68170bc 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -115,9 +115,9 @@ struct wlr_texture *gles2_texture_from_wl_drm(struct wlr_renderer *wlr_renderer,
struct wlr_texture *gles2_texture_from_dmabuf(struct wlr_renderer *wlr_renderer,
struct wlr_dmabuf_attributes *attribs);
-void push_gles2_marker(const char *file, const char *func);
-void pop_gles2_marker(void);
-#define PUSH_GLES2_DEBUG push_gles2_marker(_WLR_FILENAME, __func__)
-#define POP_GLES2_DEBUG pop_gles2_marker()
+void push_gles2_debug_(struct wlr_gles2_renderer *renderer,
+ const char *file, const char *func);
+#define push_gles2_debug(renderer) push_gles2_debug_(renderer, _WLR_FILENAME, __func__)
+void pop_gles2_debug(struct wlr_gles2_renderer *renderer);
#endif