Skip to content

Commit

Permalink
wasm: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Aug 26, 2023
1 parent 94901fa commit c1b4c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/sources/model_offscreen_render.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ QImage ModelOffscreenRender::toImage(const QSize& size)
format.setAttachment(QOpenGLFramebufferObject::CombinedDepthStencil);
format.setSamples(4);
format.setTextureTarget(GL_TEXTURE_2D);
format.setInternalTextureFormat(GL_RGBA32F_ARB);
//format.setInternalTextureFormat(GL_RGBA32F_ARB);
m_renderFbo = new QOpenGLFramebufferObject(size, format);
m_renderFbo->bind();

Expand Down

0 comments on commit c1b4c6e

Please sign in to comment.