Fix FBO_*() usage when framebuffers are unavailable or undesired.

This commit is contained in:
James Canete 2012-10-28 20:22:13 +00:00
parent c4aa3cf8c0
commit 5cbe7888f8
7 changed files with 43 additions and 36 deletions

View file

@ -795,7 +795,7 @@ void FBO_FastBlit(FBO_t *src, vec4i_t srcBox, FBO_t *dst, vec4i_t dstBox, int bu
}
// get to a neutral state first
FBO_Bind(NULL);
//FBO_Bind(NULL);
srcFb = src ? src->frameBuffer : 0;
dstFb = dst ? dst->frameBuffer : 0;