From 447392463651c7c5720757f2040af3938951c46f Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sun, 12 Jul 2015 20:35:22 -0500 Subject: [PATCH] Remove logically dead code in R_CheckFBO Found by Coverity. --- code/renderergl2/tr_fbo.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/renderergl2/tr_fbo.c b/code/renderergl2/tr_fbo.c index f02e6cc7..c8ea0aeb 100644 --- a/code/renderergl2/tr_fbo.c +++ b/code/renderergl2/tr_fbo.c @@ -47,9 +47,6 @@ qboolean R_CheckFBO(const FBO_t * fbo) // an error occured switch (code) { - case GL_FRAMEBUFFER_COMPLETE_EXT: - break; - case GL_FRAMEBUFFER_UNSUPPORTED_EXT: ri.Printf(PRINT_WARNING, "R_CheckFBO: (%s) Unsupported framebuffer format\n", fbo->name); break;