Skip to content

Commit 69a6655

Browse files
committed
Fix screenshots using incorrect FBO with MSAA
1 parent e224c48 commit 69a6655

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engine/renderer/tr_init.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,8 @@ Cvar::Cvar<int> r_rendererAPI( "r_rendererAPI", "Renderer API: 0: OpenGL, 1: Vul
655655
*/
656656
const RenderCommand *ScreenshotCommand::ExecuteSelf( ) const
657657
{
658+
R_BindFBO( GL_READ_FRAMEBUFFER, nullptr );
659+
658660
switch ( format )
659661
{
660662
case ssFormat_t::SSF_TGA:

0 commit comments

Comments
 (0)