[iortcw] 366/497: All: Rend2: Remove logically dead code in R_CheckFBO

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 5079d197194821ad3f3db316aea4e423b56a36aa
Author: Donny <M4N4T4RMS at gmail.com>
Date:   Mon Jul 13 07:15:33 2015 -0400

    All: Rend2: Remove logically dead code in R_CheckFBO
---
 MP/code/rend2/tr_fbo.c | 3 ---
 SP/code/rend2/tr_fbo.c | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/MP/code/rend2/tr_fbo.c b/MP/code/rend2/tr_fbo.c
index f02e6cc..c8ea0ae 100644
--- a/MP/code/rend2/tr_fbo.c
+++ b/MP/code/rend2/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;
diff --git a/SP/code/rend2/tr_fbo.c b/SP/code/rend2/tr_fbo.c
index f02e6cc..c8ea0ae 100644
--- a/SP/code/rend2/tr_fbo.c
+++ b/SP/code/rend2/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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list