|
|
@ -111,8 +111,8 @@ static bool gles2_render_texture_with_matrix(struct wlr_renderer *wlr_renderer,
|
|
|
|
struct wlr_gles2_texture *texture =
|
|
|
|
struct wlr_gles2_texture *texture =
|
|
|
|
gles2_get_texture_in_context(wlr_texture);
|
|
|
|
gles2_get_texture_in_context(wlr_texture);
|
|
|
|
|
|
|
|
|
|
|
|
GLuint prog;
|
|
|
|
GLuint prog = 0;
|
|
|
|
GLenum target;
|
|
|
|
GLenum target = 0;
|
|
|
|
switch (texture->type) {
|
|
|
|
switch (texture->type) {
|
|
|
|
case WLR_GLES2_TEXTURE_GLTEX:
|
|
|
|
case WLR_GLES2_TEXTURE_GLTEX:
|
|
|
|
case WLR_GLES2_TEXTURE_WL_DRM_GL:
|
|
|
|
case WLR_GLES2_TEXTURE_WL_DRM_GL:
|
|
|
|