We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26dd54f + 421458a commit 303a069Copy full SHA for 303a069
2 files changed
libs/hwui/OpenGLRenderer.cpp
@@ -208,7 +208,7 @@ void OpenGLRenderer::resume() {
208
209
glDisable(GL_DITHER);
210
211
- glBindFramebuffer(GL_FRAMEBUFFER, getTargetFbo());
+ glBindFramebuffer(GL_FRAMEBUFFER, mSnapshot->fbo);
212
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
213
214
mCaches.blend = true;
libs/hwui/Snapshot.h
@@ -213,7 +213,8 @@ class Snapshot: public LightRefBase<Snapshot> {
Layer* layer;
215
/**
216
- * Only set when the flag kFlagIsFboLayer is set.
+ * Target FBO used for rendering. Set to 0 when rendering directly
217
+ * into the framebuffer.
218
*/
219
GLuint fbo;
220
0 commit comments