Skip to content

Commit

Permalink
Fix bug in _EGLImageKHR_get_image_info
Browse files Browse the repository at this point in the history
Was creating a texture then deleting it as a buffer.
  • Loading branch information
per-mathisen-arm committed Aug 5, 2022
1 parent f3b0897 commit 2c8944d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/eglsize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ _EGLImageKHR_get_image_info(GLenum target, EGLImageKHR image)

get_texture_2d_image(info);
_glBindTexture(GL_TEXTURE_2D, bound_tex);
_glDeleteBuffers(1, &tex);
_glDeleteTextures(1, &tex);

return info;
}
Expand Down

0 comments on commit 2c8944d

Please sign in to comment.