aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorMariusz Bialonczyk <manio@skyboo.net>2018-08-02 13:38:00 +0200
committerMariusz Bialonczyk <manio@skyboo.net>2018-08-03 07:43:22 +0200
commitad406db21c7cebf21bf73ae6ceb88fdf1849395e (patch)
tree3adc0925ea6e47ba926de55651ff4b14edc58dd9 /include/render
parent15dacebc36ffa137aefafcfbe723c7b35af5cc2b (diff)
gles2: change context when it is not current
Texture functions, that create and manipulate textures should switch the current context if necessary. thanks to: @emersion Fixes #934
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index 8b036f80..f649f3e2 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -88,7 +88,7 @@ const struct wlr_gles2_pixel_format *get_gles2_format_from_wl(
enum wl_shm_format fmt);
const enum wl_shm_format *get_gles2_formats(size_t *len);
-struct wlr_gles2_texture *get_gles2_texture_in_context(
+struct wlr_gles2_texture *gles2_get_texture(
struct wlr_texture *wlr_texture);
void push_gles2_marker(const char *file, const char *func);