Skip to content

Commit

Permalink
Docs: Fix a typo in QRhiTextureRenderTargetDescription
Browse files Browse the repository at this point in the history
Fixes: QTBUG-127403
Pick-to: 6.8 6.7
Change-Id: I089896e6abdd095057218adfd63727e65f4d92df
Reviewed-by: Laszlo Agocs <[email protected]>
  • Loading branch information
alcazaco committed Aug 12, 2024
1 parent 07a0ecf commit 934ff5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/rhi/qrhi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,7 @@ QRhiColorAttachment::QRhiColorAttachment(QRhiRenderBuffer *renderBuffer)
renderbuffer as depth/stencil to enable depth testing:
\code
QRhiTexture *texture = rhi->newTexture(QRhiTexture::RGBA8, QSize(512, 512), 1. QRhiTexture::RenderTarget);
QRhiTexture *texture = rhi->newTexture(QRhiTexture::RGBA8, QSize(512, 512), 1, QRhiTexture::RenderTarget);
texture->create();
QRhiRenderBuffer *depthStencil = rhi->newRenderBuffer(QRhiRenderBuffer::DepthStencil, QSize(512, 512));
depthStencil->create();
Expand Down

0 comments on commit 934ff5a

Please sign in to comment.