]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainview.cpp
Texture2D::storage no longer takes border parameter
[r2c2.git] / source / engineer / trainview.cpp
index f282b4e07487c6ad24f479bc02a8de7fb39b0ff5..805fec5cfdf375f96dcd56bcbe8ca8d70c8ec3ca 100644 (file)
@@ -27,7 +27,7 @@ TrainView::TrainView(Engineer &e, const Train &t):
        set_size(300, 330);
 
        tex.set_min_filter(GL::LINEAR);
-       tex.storage(GL::RGB, 280, 280, 0);
+       tex.storage(GL::RGB, 280, 280);
        tex.image(0, GL::RGB, GL::UNSIGNED_BYTE, 0);
        fbo.attach(GL::COLOR_ATTACHMENT0, tex, 0);
        depth.storage(GL::DEPTH_COMPONENT, 280, 280);