summaryrefslogtreecommitdiff
path: root/src/renderergl2
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2015-07-12 20:35:22 -0500
committerTim Angus <tim@ngus.net>2016-04-07 11:02:30 +0100
commit948b565a2b0105d7c0530c78de7a4e005f73e6e8 (patch)
treebcebd1abefbd5227ae7c235ddbd4d309cea8d976 /src/renderergl2
parentcd50d8d2e7d1085808b15e9e4be66a52289df013 (diff)
Remove logically dead code in R_CheckFBO
Found by Coverity.
Diffstat (limited to 'src/renderergl2')
-rw-r--r--src/renderergl2/tr_fbo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/renderergl2/tr_fbo.c b/src/renderergl2/tr_fbo.c
index f02e6cc7..c8ea0aeb 100644
--- a/src/renderergl2/tr_fbo.c
+++ b/src/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;