Skip to content

fix: InWindowBlur reports error in gles2 - #251

Closed
18202781743 wants to merge 1 commit into
linuxdeepin:masterfrom
18202781743:blitframe-size-error
Closed

fix: InWindowBlur reports error in gles2#251
18202781743 wants to merge 1 commit into
linuxdeepin:masterfrom
18202781743:blitframe-size-error

Conversation

@18202781743

@18202781743 18202781743 commented Dec 11, 2023

Copy link
Copy Markdown
Contributor

replacing glenable with glActiveTexture.
using opengl's function to get sufface width.

  replacing glenable with glActiveTexture.
  using opengl's function to get sufface width.
f->glGetIntegerv(GL_FRAMEBUFFER_BINDING, (GLint*)&currentFBO);
if (currentFBO != InvalidFBOId) {
int width, height;
f->glBindRenderbuffer(GL_RENDERBUFFER, currentFBO);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经是current fbo了,不用重复绑定

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-bot

deepin-bot Bot commented Jan 9, 2024

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 5.6.21
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #266

@18202781743

Copy link
Copy Markdown
Contributor Author

treeland下换做另外方式实现blur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants