Kajetan Johannes Hammerle 4 жил өмнө
parent
commit
33d0fc4551

+ 1 - 1
wrapper/Framebuffer.h

@@ -63,7 +63,7 @@ public:
         textures[index].bindTo(textureUnit);
         textures[index].bindTo(textureUnit);
     }
     }
 
 
-    void resize(const Size& size) const {
+    void resize(const Size& size) {
         for(Texture& t : textures) {
         for(Texture& t : textures) {
             t.setData(size.width, size.height);
             t.setData(size.width, size.height);
         }
         }