git-svn-id: svn://db.shs.com.ru/libs@54 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -40,7 +40,8 @@ GLFramebuffer::~GLFramebuffer() {
|
||||
}
|
||||
|
||||
|
||||
void GLFramebuffer::resize(int width, int height) {
|
||||
void GLFramebuffer::resize(int width, int height, bool force) {
|
||||
if ((wid == width) && (hei == height) && !force) return;
|
||||
wid = width;
|
||||
hei = height;
|
||||
deleteGLFramebuffer(fbo);
|
||||
|
||||
Reference in New Issue
Block a user