added a few missing lines
This commit is contained in:
@@ -184,8 +184,11 @@ GLuint WriteTexture(int textw, int texth){
|
||||
|
||||
// Always check that our framebuffer is ok
|
||||
if(glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
|
||||
return false;
|
||||
|
||||
return false;
|
||||
|
||||
// Render to our framebuffer
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, FramebufferName);
|
||||
glViewport(0, 0, textw, texth);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user